:root {
  color-scheme: dark;
  --bg: #050806;
  --ink: #f2f5f2;
  --muted: #a4b2a9;
  --green: #60e6a7;
  --gold: #c9b77e;
  --line: #2a342e;
  --panel: #0d120f;
  font:
    clamp(16px, 0.7vw, 25px) / 1.5 Arial,
    Helvetica,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
select {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex='0']:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
::selection {
  background: #275c40;
  color: white;
}
.shell,
.wrap {
  width: min(114rem, calc(100% - clamp(2rem, 7.2vw, 12rem)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 6;
  left: 1rem;
  top: -5rem;
  background: var(--green);
  color: #041109;
  padding: 0.7rem;
}
.skip:focus {
  top: 1rem;
}
header {
  background: #020403;
  border-bottom: 1px solid #ffffff14;
}
.navwrap,
.brand,
nav,
.actions,
.foot,
.tool-nav,
.mode-tabs,
.rows {
  display: flex;
  align-items: center;
}
.navwrap {
  min-height: 5.4rem;
  gap: 2rem;
  justify-content: space-between;
}
.brand {
  gap: 0.7rem;
  width: max-content;
}
.brand b {
  font-size: 1.86rem;
  letter-spacing: 0.13em;
  font-weight: 400;
  line-height: 1;
}
.logo {
  height: 2.3rem;
  width: 2.3rem;
  background: url('/assets/astran-emblem.png') center 56% / 182% no-repeat;
  mix-blend-mode: screen;
}
nav {
  gap: clamp(1.1rem, 2.2vw, 2.5rem);
}
nav a,
.navcta,
.textlink,
.foot > a:not(.brand) {
  font-size: 0.93rem;
}
.navwrap nav a,
.foot > a:not(.brand) {
  color: #bdc9c1;
}
.navwrap nav a:hover,
.textlink:hover,
.foot > a:hover {
  color: var(--green);
}
.navcta,
.btn,
button {
  background: transparent;
  border: 1px solid #4b5c50;
  border-radius: 0.25rem;
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  font-weight: 500;
  line-height: 1.25;
  min-height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.navcta:hover,
.btn:hover,
button:hover {
  border-color: var(--green);
}
.btn.primary,
button.primary {
  color: #062516;
  background: var(--green);
  border-color: var(--green);
}
.btn.primary:hover,
button.primary:hover {
  background: #83f0ba;
  border-color: #83f0ba;
}
.btn.primary {
  min-height: 3.15rem;
  padding-inline: 1.5rem;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hero {
  background: #000;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 83%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000 0%, #000f 19%, #000b 34%, transparent 65%),
    linear-gradient(to top, #050806, transparent 15%);
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(29rem, 47vw, 43rem);
  padding-block: 4rem;
}
.hero-copy {
  width: 51%;
}
@media (min-width: 1800px) {
  .hero-image {
    right: max(0px, calc((100vw - 112rem) / 2 - 6rem));
    width: min(83%, 76rem);
    object-fit: contain;
    object-position: right center;
  }
}
h1,
h2,
h3 {
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(3.5rem, 6.65vw, 7rem);
  line-height: 0.99;
  letter-spacing: -0.064em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero p {
  color: #b5c2ba;
  margin-top: 1.55rem;
  font-size: 1.12rem;
  max-width: 25rem;
  line-height: 1.55;
}
.actions,
.rows {
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero .actions {
  gap: 1.7rem;
  margin-top: 1.75rem;
}
.textlink {
  display: inline-block;
  border-bottom: 1px solid #718176;
  padding-bottom: 0.14rem;
}
.collection {
  padding-block: clamp(2.8rem, 5vw, 5rem);
  scroll-margin-top: 1rem;
}
.collection h2,
.editorial h2 {
  font-size: clamp(2.55rem, 4.3vw, 4.6rem);
  letter-spacing: -0.066em;
  line-height: 1.05;
}
.collection h2 {
  text-transform: lowercase;
  margin-bottom: 1.6rem;
}
.period {
  color: var(--green);
}
.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.5rem, 0.85vw, 1.05rem);
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0c110e;
  border: 1px solid #313b33;
  border-radius: 0.35rem;
  overflow: hidden;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.card:hover,
.card:focus-visible {
  border-color: #7a9b85;
  transform: translateY(-0.2rem);
}
.card .photo {
  background: #121c16;
  border-bottom: 1px solid #ffffff12;
  aspect-ratio: 1.42;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card img {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.card:hover img,
.card:focus-visible img {
  transform: scale(1.055);
}
.card-body {
  padding: clamp(0.8rem, 1.26vw, 1.47rem);
  flex: 1;
}
.card h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.65rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.47rem;
  line-height: 1.35;
}
.card h3,
.tool-name {
  text-transform: lowercase;
}
.editorial {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  padding-block: clamp(2.5rem, 4.3vw, 4.5rem);
  scroll-margin-top: 1rem;
}
.editorial > div:last-child {
  max-width: 49rem;
}
.editorial p,
details p,
.hint,
.muted {
  color: var(--muted);
  line-height: 1.55;
}
.editorial p.lead {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 0.7rem;
}
.editorial details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.editorial p + details {
  margin-top: 1.2rem;
}
summary {
  color: #e2eae4;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  color: var(--green);
  font-size: 1.12rem;
}
details[open] > summary:after {
  content: '−';
}
details p,
details dl {
  margin-top: 0.75rem;
}
dl div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 0.4rem 0;
}
dd {
  color: var(--muted);
}
.roadmap-list article + article { margin-top: 1.45rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.roadmap-list .phase { color: var(--green); font-size: .84rem; }
.roadmap-list h3 { font-size: clamp(1.14rem, 1.45vw, 1.5rem); margin: .38rem 0; font-weight: 550; }
footer {
  border-top: 1px solid var(--line);
}
.foot {
  min-height: 5.5rem;
  gap: 1.7rem;
}
.foot .brand {
  margin-right: auto;
}
.foot .brand b {
  font-size: 1.4rem;
}
.foot .logo {
  width: 1.75rem;
  height: 1.75rem;
}
.workspace {
  padding-block: 1.45rem 4rem;
  min-height: 78vh;
}
.tool-nav {
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: clamp(1.5rem, 3vw, 3.2rem);
}
.tool-nav a {
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-size: 0.96rem;
}
.tool-nav a:hover {
  color: var(--ink);
}
.tool-nav a[aria-current='page'] {
  color: var(--green);
  border-color: #35483c;
  background: #0e1912;
}
.tool-nav .suite-link {
  margin-right: auto;
  border: 0;
  padding-left: 0;
  color: var(--ink);
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5.3vw, 6.5rem);
  align-items: start;
}
.tool-identity {
  min-width: 0;
}
.tool-name {
  font-size: clamp(3.6rem, 6.2vw, 6.85rem);
  letter-spacing: -0.073em;
  line-height: 0.95;
}
.tool-caption {
  color: #b9c7bd;
  font-size: 1.07rem;
  margin-top: 0.8rem;
}
.tool-identity .photo {
  display: block;
  margin-top: 1.5rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f1913;
  border-radius: 0.3rem;
}
.tool-column {
  min-width: 0;
}
.mode-tabs {
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.mode-tabs button {
  min-height: 2.65rem;
  padding: 0.45rem 0 0.68rem;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 0.97rem;
}
.mode-tabs button[aria-selected='true'] {
  color: var(--green);
  border-color: var(--green);
}
.mode-tabs button:hover {
  color: var(--ink);
}
.panel {
  background: var(--panel);
  padding: clamp(1.2rem, 2.2vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  margin-bottom: 0.85rem;
}
.panel h2,
.panel h3,
.reader-title {
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.hint,
.muted {
  font-size: 0.94rem;
}
.panel .hint {
  margin-top: 0.55rem;
  max-width: 50ch;
}
.panel form,
.stack {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.25rem;
}
.panel label {
  display: grid;
  gap: 0.38rem;
  color: #dce6de;
  font-size: 0.94rem;
}
.panel input,
.panel textarea,
.panel select {
  width: 100%;
  min-width: 0;
  background: #060a08;
  color: var(--ink);
  border: 1px solid #47554b;
  border-radius: 0.22rem;
  padding: 0.65rem 0.82rem;
  min-height: 2.7rem;
}
.panel textarea {
  min-height: 5.2rem;
  resize: vertical;
}
.panel input[type='file'] {
  font-size: 0.91rem;
  padding: 0.46rem 0.55rem;
}
.panel input::file-selector-button {
  background: #202c24;
  border: 0;
  color: var(--ink);
  padding: 0.32rem 0.65rem;
  margin-right: 0.65rem;
  border-radius: 0.15rem;
}
.panel form > button,
.stack > button {
  justify-self: start;
}
.panel .actions {
  margin-top: 1rem;
}
.panel a {
  color: var(--green);
}
.panel button {
  font-size: 0.94rem;
}
.record,
.output:not(:empty) {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  margin-top: 0.9rem;
  overflow-wrap: anywhere;
}
.record {
  display: grid;
  gap: 0.4rem;
}
.record button,
.record a {
  justify-self: start;
}
.record strong {
  font-weight: 550;
}
.output:not(:empty) {
  line-height: 1.5;
  white-space: pre-wrap;
  color: #c5eed5;
}
.output input {
  margin: 0.7rem 0;
}
.output.error {
  color: #ffbbac;
}
.secret {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.small {
  font-size: 0.86rem;
}
.reader-title {
  margin: 2rem 0 1rem;
}
.reader .panel {
  max-width: 48rem;
}
@media (max-width: 1020px) {
  .cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .card {
    grid-column: span 2;
  }
  .card:nth-last-child(2) {
    grid-column: 2 / span 2;
  }
  .card .photo {
    aspect-ratio: 1.7;
  }
  .tool-layout {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
}
@media (max-width: 720px) {
  .shell,
  .wrap {
    width: calc(100% - 2rem);
  }
  .navwrap {
    gap: 0.4rem 1rem;
    min-height: 0;
    flex-wrap: wrap;
    padding-block: 0.65rem;
  }
  .brand b {
    font-size: 1.6rem;
  }
  .logo {
    width: 1.9rem;
    height: 1.9rem;
  }
  .navcta {
    margin-left: auto;
    min-height: 2.2rem;
    font-size: 0.86rem;
    padding: 0.42rem 0.78rem;
  }
  .navwrap nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0 0;
    border-top: 1px solid #ffffff15;
  }
  .navwrap nav a {
    font-size: 0.9rem;
  }
  .hero-inner {
    min-height: 31rem;
    align-items: flex-start;
    padding-top: 2.5rem;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 9.7vw, 4.1rem);
  }
  .hero p {
    font-size: 1rem;
    margin-top: 1rem;
    max-width: 22rem;
  }
  .hero-image {
    inset: auto -1% 0 auto;
    width: 100%;
    height: 58%;
    object-fit: cover;
    object-position: center 52%;
  }
  .hero:before {
    background: linear-gradient(
      to bottom,
      #000 0%,
      #000 40%,
      transparent 64%,
      transparent 87%,
      #050806 100%
    );
  }
  .hero .actions {
    gap: 1.25rem;
    margin-top: 1.05rem;
  }
  .hero .btn {
    min-height: 2.6rem;
    padding: 0.6rem 1rem;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .card,
  .card:nth-last-child(2) {
    grid-column: auto;
  }
  .card .photo {
    aspect-ratio: 1.5;
  }
  .card-body {
    padding: 0.8rem;
  }
  .card h3 {
    font-size: 1.65rem;
  }
  .card p {
    font-size: 0.9rem;
  }
  .editorial {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .editorial h2,
  .collection h2 {
    font-size: 2.55rem;
  }
  .foot {
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 1rem;
  }
  .foot a {
    font-size: 0.89rem;
  }
  .tool-nav {
    gap: 0.1rem;
    margin-bottom: 1rem;
  }
  .tool-nav a {
    padding: 0.36rem 0.55rem;
    font-size: 0.92rem;
  }
  .tool-nav .suite-link {
    flex-basis: 100%;
  }
  .tool-layout {
    display: block;
  }
  .tool-identity {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.65rem;
    margin-bottom: 1rem;
  }
  .tool-name {
    font-size: clamp(2.9rem, 10vw, 4rem);
    align-self: end;
  }
  .tool-caption {
    font-size: 0.96rem;
    align-self: start;
    margin-top: 0.3rem;
  }
  .tool-identity .photo {
    grid-column: 2;
    grid-row: 1/3;
    width: 100%;
    margin: 0;
  }
  .mode-tabs {
    gap: 1rem;
    margin-bottom: 0.8rem;
  }
  .mode-tabs button {
    font-size: 0.92rem;
  }
  .workspace {
    padding-block: 1rem 2.5rem;
  }
}
@media (min-width: 721px) and (max-width: 850px) {
  .navwrap {
    gap: 1rem;
  }
  .hero-image {
    width: 88%;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
}
@media (max-width: 380px) {
  .foot .brand {
    width: 100%;
  }
  .cards {
    gap: 0.5rem;
  }
  .card-body {
    padding: 0.7rem;
  }
  .navwrap nav {
    gap: 0.5rem;
  }
  .mode-tabs {
    gap: 0.72rem;
  }
  .tool-nav a {
    padding: 0.35rem 0.42rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.lock-action {
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .tool-view .navwrap nav {
    display: none;
  }
  .card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .card:last-child .photo {
    border-bottom: 0;
    border-right: 1px solid #ffffff12;
  }
  .lock-action {
    justify-self: start;
    margin-top: 0.65rem;
  }
}
