/* spacesharp.app: the home page. Loaded after base.css. */
.hero {
  position: relative;
  padding: 76px 0 88px;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(44px, 5.2vw, 76px);
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.08em;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(0);
  animation: underline 0.7s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes underline {
  to {
    transform: scaleX(1);
  }
}
.hero .lede {
  font-size: clamp(17px, 1.4vw, 20px);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
}
.hero .fine {
  margin-top: 16px;
  color: var(--hint);
  font-size: 14px;
  font-family: var(--mono);
}
.hero .fine a {
  color: var(--muted);
  border-bottom: 1px dotted var(--hint);
}
.hero .fine a:hover {
  color: var(--ink);
}
.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.cell {
  position: absolute;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c, #30363d);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.25s,
    opacity 0.4s;
  will-change: transform;
  cursor: pointer;
}
.cell.dir {
  background: color-mix(in srgb, var(--c) 18%, #0b0e13);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, #0b0e13);
}
.cell.dir > .bar {
  height: 22px;
  background: color-mix(in srgb, var(--c) 55%, #0b0e13);
  color: #fff;
  font: 600 12px/22px var(--body);
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cell.dir > .bar span {
  font-family: var(--mono);
  font-weight: 400;
  opacity: 0.75;
  font-size: 11px;
}
.cell.file {
  background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--c) 100%, #fff 18%) 0, var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000) 100%);
}
.cell.file .lbl {
  position: absolute;
  inset: 0;
  padding: 6px 8px;
  font: 500 12px/1.25 var(--body);
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.cell.file.ink .lbl {
  color: #0b0e13;
  background: none;
}
.cell.file .lbl b {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cell.file .lbl span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.8;
}
.cell.enter {
  animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.map:hover .cell {
  filter: brightness(0.82);
}
.map .cell.dir:has(.cell:hover),
.map .cell:hover {
  filter: brightness(1);
}
.map .cell.file:hover {
  transform: scale(1.025);
  z-index: 3;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.cell.dim {
  opacity: 0.18;
}
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip .n {
  padding: 30px 28px;
  border-left: 1px solid var(--line);
}
.strip .n:last-child {
  padding-right: 0;
}
.strip .n:first-child {
  border-left: 0;
  padding-left: 0;
}
.strip b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.strip b i {
  font-style: normal;
  color: var(--amber);
}
.strip span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  max-width: 28ch;
  text-wrap: pretty;
}
section {
  padding: clamp(72px, 8vw, 112px) 0;
}
.sec-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.sec-head h2 {
  margin-top: 14px;
}
#try {
  background: radial-gradient(60% 50% at 70% 0, rgba(245, 184, 46, 0.08), transparent 70%);
}
.demo {
  margin-top: 36px;
}
.scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.scenes button {
  all: unset;
  cursor: pointer;
  font: 500 14px var(--body);
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: 0.15s;
}
.scenes button:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.scenes button[aria-pressed="true"] {
  color: var(--amber-ink);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
}
.frame {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #0d1117;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
}
.shotcap {
  font-size: 13.5px;
  color: var(--muted);
  margin: 12px 0 0;
}
.frame > .note {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--hint);
  background: rgba(11, 14, 19, 0.8);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
}
.gallery {
  display: none;
}
@keyframes blink {
  to {
    opacity: 0;
  }
}
#insights .grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
#insights picture {
  display: block;
}
#insights img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.points li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}
.points li i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--amber);
}
.points li i svg {
  width: 18px;
  height: 18px;
}
.points li b {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.points li span {
  color: var(--muted);
  font-size: 15.5px;
}
.tbl {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}
col.c-f {
  width: 34%;
}
col.c-us {
  width: 19%;
}
th,
td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
thead th {
  padding: 18px;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  background: var(--bg-2);
}
thead th.us {
  color: var(--ink);
}
thead .who {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  vertical-align: middle;
}
thead th.us img {
  width: 22px;
  height: 22px;
}
tbody th {
  color: var(--ink);
  font-weight: 500;
}
td {
  color: var(--muted);
}
td.us {
  color: var(--ink);
  background: color-mix(in srgb, var(--amber) 6%, var(--panel));
}
thead th.us {
  box-shadow: inset 0 2px 0 var(--amber);
  background: color-mix(in srgb, var(--amber) 10%, var(--bg-2));
}
tbody tr:hover td,
tbody tr:hover th {
  background: rgba(255, 255, 255, 0.025);
}
tbody tr:hover td.us {
  background: color-mix(in srgb, var(--amber) 10%, var(--panel));
}
td i {
  display: inline-flex;
  align-items: center;
  vertical-align: -5px;
  position: relative;
}
td i b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
td svg,
.key svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
td svg .f,
.key svg .f {
  fill: currentColor;
  stroke: none;
}
td.y i {
  color: var(--amber);
}
td.p i {
  color: var(--amber-deep);
}
td.n i {
  color: #4a5563;
}
td.us.y i {
  color: var(--amber-2);
}
td span {
  margin-left: 9px;
}
td.n span {
  color: var(--hint);
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.key {
  display: flex;
  gap: 22px;
  margin: 14px 2px 0;
  font-size: 13px;
  color: var(--hint);
}
.key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.key i {
  display: inline-flex;
}
.key .y {
  color: var(--amber);
}
.key .p {
  color: var(--amber-deep);
}
.key .n {
  color: #4a5563;
}
.foot {
  color: var(--hint);
  font-size: 13px;
  margin-top: 14px;
}
.foot a {
  color: var(--muted);
  border-bottom: 1px dotted var(--hint);
}
.foot a:hover {
  color: var(--ink);
}
.prose {
  max-width: 76ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 17.5px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
#download {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.dl .card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink);
  transition: 0.2s;
}
.dl .card:hover {
  transform: translateY(-3px);
  border-color: #3a4452;
}
.dl .go::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.dl .go:focus-visible {
  outline: none;
}
.dl .card:has(.go:focus-visible) {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.dl .card.main {
  border-color: var(--amber);
  background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 12%, var(--panel)), var(--panel));
}
.dl h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.dl h3 small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dl .file {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.dl p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}
.dl .go {
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dl .go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.dl .card:hover .go svg {
  transform: translateX(3px);
}
.dl-note {
  color: var(--hint);
  font-size: 14px;
  margin-top: 18px;
  max-width: 90ch;
}
.dl-note a {
  color: var(--muted);
  border-bottom: 1px dotted var(--hint);
}
.faq .wrap {
  max-width: 860px;
}
details {
  border-bottom: 1px solid var(--line);
}
details:first-of-type {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--amber);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  font-family: var(--mono);
}
details[open] summary::after {
  content: "\2212";
}
details p {
  color: var(--muted);
  padding: 0 0 22px;
  max-width: 72ch;
}
#more {
  padding-top: 0;
}
.more {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--h1) 14%, var(--panel)), var(--panel) 60%);
  color: var(--ink);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.25s;
}
.more:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--h1) 60%, var(--line-2));
  color: var(--ink);
}
.more-mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--h1) 30%, #0b0e13);
  color: #bfd6f0;
  display: grid;
  place-items: center;
}
.more-mark svg {
  width: 36px;
  height: 36px;
}
.more h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 24px;
}
.more h3 span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hint);
  font-weight: 400;
}
.more .tag {
  color: var(--amber-2);
  font-weight: 600;
  margin-top: 4px;
}
.more p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 8px;
  max-width: 70ch;
}
.more .go {
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.more .go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.more:hover .go svg {
  transform: translate(2px, -2px);
}
.dl-note.planned {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
}
.dl-note.planned b {
  color: var(--ink);
  font-weight: 600;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s;
  z-index: 100;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1000px) {
  #insights .grid {
    grid-template-columns: 1fr;
  }
  footer .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  footer .intro {
    grid-column: 1/-1;
    max-width: 460px;
  }
  footer .col.wide {
    grid-column: 1/-1;
  }
  footer .ledger {
    max-width: 460px;
  }
  .strip .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip .n {
    padding: 22px 16px;
  }
  .strip b {
    font-size: 26px;
  }
  .strip .n:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .strip .n:nth-child(even) {
    padding-right: 0;
  }
  .strip .n:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  nav .links {
    display: none;
  }
  footer {
    padding-top: 48px;
  }
  footer .grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  footer .intro {
    grid-column: 1/-1;
  }
  footer .col.wide {
    grid-column: 1/-1;
  }
  footer .bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 36px 0 44px;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }
  .dl {
    grid-template-columns: 1fr;
  }
  .more {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .frame,
  .scenes,
  .shotcap {
    display: none;
  }
  .gallery {
    display: block;
    margin-top: 24px;
  }
  .gallery .strip-g {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 12px;
    margin: 0 -24px;
    padding-left: 24px;
    scrollbar-width: none;
  }
  .gallery .strip-g::-webkit-scrollbar {
    display: none;
  }
  .gallery figure {
    flex: 0 0 86%;
    scroll-snap-align: start;
    margin: 0;
  }
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--line-2);
  }
  .gallery figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
  }
  .tbl {
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
  }
  table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }
  thead {
    display: none;
  }
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 14px;
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 14px 16px 15px;
    margin-bottom: 10px;
  }
  tbody tr:hover th,
  tbody tr:hover td,
  tbody tr:hover td.us {
    background: none;
  }
  th,
  td {
    padding: 0;
    border: 0;
  }
  tbody th {
    grid-column: 1/-1;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
  }
  td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    min-width: 0;
    font-size: 13px;
    color: var(--muted);
    background: none;
  }
  td.us {
    background: none;
  }
  td::before {
    content: attr(data-app);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
  }
  td.n::before {
    color: var(--muted);
  }
  td i {
    order: -1;
    vertical-align: 0;
  }
  td svg {
    width: 18px;
    height: 18px;
  }
  td span {
    margin: 0;
    flex-basis: 100%;
    padding-left: 26px;
    font-size: 12px;
    color: var(--hint);
  }
  td.n span {
    color: var(--hint);
  }
  .key {
    display: none;
  }
  .strip .wrap {
    grid-template-columns: 1fr 1fr;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.features .f {
  padding: 30px 26px 34px 0;
  margin-right: 26px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.features .f:nth-child(n + 5) {
  border-top: 1px solid var(--line);
}
.features .f:not(:nth-child(4n + 1))::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 30px;
  bottom: 34px;
  width: 1px;
  background: var(--line);
}
.features .f:nth-child(4n + 1) {
  padding-left: 0;
}
.features .f:nth-child(4n) {
  margin-right: 0;
  padding-right: 0;
}
.features i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--amber);
}
.features i svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features i svg .f {
  fill: currentColor;
  stroke: none;
}
.features h3 {
  font-size: 18px;
  margin-top: 4px;
}
.features p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.features .filter {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  background: #0b0e13;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.features .filter i {
  all: unset;
  display: block;
  width: 2px;
  height: 15px;
  background: var(--amber);
  animation: blink 1s steps(2) infinite;
}
.features .filter em {
  font-style: normal;
  color: var(--amber-2);
}
@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .features .f:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .features .f::before {
    display: none;
  }
  .features .f:nth-child(even)::before {
    display: block;
  }
}
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
  .features .f {
    margin-right: 0;
    padding-right: 0;
  }
  .features .f:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
  .features .f::before {
    display: none !important;
  }
}
.cta.docs {
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line-2));
  color: var(--amber);
}
.cta.docs svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.cta.docs:hover {
  background: color-mix(in srgb, var(--amber) 12%, var(--panel));
  color: var(--amber);
}
.docs-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 14%, var(--panel)), var(--panel) 60%);
}
.docs-card:hover {
  border-color: color-mix(in srgb, var(--amber) 60%, var(--line-2));
}
.docs-card .more-mark {
  background: color-mix(in srgb, var(--amber) 22%, #0b0e13);
  color: var(--amber);
}
@media (max-width: 560px) {
  .actions-nav .cta.docs {
    padding: 0 11px;
  }
  .actions-nav .cta.docs .t {
    display: none;
  }
}
@media (max-width: 1060px) {
  nav .links {
    display: none;
  }
}
@media (max-width: 400px) {
  nav .gh {
    display: none;
  }
  nav .wrap {
    gap: 12px;
    width: calc(100% - 32px);
  }
  .actions-nav {
    gap: 8px;
  }
  .actions-nav .cta.primary {
    padding: 0 13px;
  }
}
@media (max-width: 340px) {
  nav .brand span {
    display: none;
  }
}
@media (max-width: 400px) {
  .more {
    padding: 22px 20px;
  }
  .more h3 {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
}
.hero h1 {
  margin-top: 14px;
}
.hero .duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.hero .tagline {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.6vw, 23px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
}
.hero .lede {
  margin-top: 14px;
}
.answer {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.answer .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.answer .top b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.answer .top span {
  font-size: 13px;
  color: var(--muted);
}
.answer .bar {
  display: grid;
  grid-template-columns: minmax(92px, 150px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  font-size: 15px;
}
.answer .bar b {
  font-weight: 600;
}
.answer .bar i {
  display: block;
  height: 14px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.answer .bar u {
  display: block;
  height: 100%;
  border-radius: 3px;
  transform-origin: left;
  animation: grow 0.8s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.answer .bar span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.answer hr {
  border: 0;
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 2px 0;
}
.answer .sums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.answer .sums b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 25px);
  color: var(--amber);
  letter-spacing: -0.02em;
}
.answer .sums span {
  font-size: 13.5px;
  color: var(--muted);
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
@media (max-width: 920px) {
  .hero .duo {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .answer {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .answer .bar u {
    animation: none;
  }
}
.gl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gl a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink);
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.gl a:hover {
  transform: translateY(-2px);
  border-color: #3a4452;
}
.gl b {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.gl span {
  color: var(--muted);
  font-size: 15px;
}
.gl em {
  font-style: normal;
  color: var(--amber);
  font-weight: 600;
  font-size: 15px;
  margin-top: auto;
  padding-top: 6px;
}
@media (max-width: 1000px) {
  .gl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .gl {
    grid-template-columns: 1fr;
  }
}
