@font-face {
  font-family: Rubik;
  src: url("/fonts/rubik-black-italic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #10110f;
  --white: #191b18;
  --ink: #f5f6ef;
  --muted: #afb3a8;
  --line: #353931;
  --green: #c1f64b;
  --pine: #242c1e;
  --red: #ff9a7c;
  --display: Inter, Arial, sans-serif;
  --mono: ui-monospace, "Courier New", monospace;
  font-family: Inter, Arial, sans-serif;
}
body {
  min-height: 100vh;
}
main {
  min-height: 65vh;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: var(--green);
}
.top {
  background: #0b0c0b;
}
.top-in {
  max-width: 1500px;
  height: 72px;
  gap: clamp(20px, 4vw, 66px);
}
.iron-logo,
.paper-logo,
.bottom-line > a:first-child {
  font:
    italic 900 28px/1 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -1.5px;
  text-decoration: none;
  white-space: nowrap;
}
.iron-logo {
  display: inline-flex;
  align-items: center;
}
.iron-logo > span:last-child {
  color: var(--green);
}
.iron-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  margin-right: 13px;
  transform: skewX(-16deg);
}
.iron-mark i {
  width: 5px;
  background: var(--green);
  height: 17px;
}
.iron-mark i:nth-child(2) {
  height: 26px;
}
.top nav {
  gap: 24px;
}
.top nav a {
  font-size: 14px;
}
.user-tools {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-left: auto;
  min-width: 0;
}
.user-tools > a {
  font-size: 14px;
  text-decoration: none;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-cart {
  margin: 0;
  border: 1px solid var(--line);
  background: #191b18;
}
.header-cart,
#cart-count {
  border-radius: 4px;
}
#cart-count {
  color: var(--green);
  background: #2a3321;
}
button,
.button,
.product,
.cart-pane,
.card,
.summary,
.order-card,
.empty-list,
.desk-metric,
.login,
dialog,
.search input[type="search"],
input:not([type="radio"]),
select,
textarea {
  border-radius: 5px;
}
button,
.button,
input:not([type="radio"]),
select,
textarea,
.search input[type="search"] {
  background: #252822;
  color: var(--ink);
  border-color: var(--line);
}
button.primary,
.button.primary,
#checkout,
.primary.wide,
.add,
.stepper,
.stepper button {
  background: var(--green);
  color: #182008;
}
.primary,
.button.primary {
  padding: 13px 20px;
}
.ghost,
button.ghost,
.button.ghost,
button.text-link {
  background: transparent;
}
.ghost {
  border-color: #4a5045;
}
.text-link,
.back {
  color: var(--green);
}
a.text-link:hover,
.hero-chat:hover {
  text-decoration: underline;
}
button.text-link {
  border: 0;
  padding: 8px 0;
}
.top nav a:hover,
.user-tools > a:hover {
  color: var(--green);
}
hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
main.landing {
  padding: 0;
  max-width: none;
}
.hero {
  background: #0a0b09 url("/iron/hero.webp") center center/cover no-repeat;
  min-height: clamp(440px, 35vw, 560px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-in {
  max-width: 1500px;
  width: 100%;
  margin: auto;
  padding: clamp(40px, 5vw, 90px) clamp(18px, 4vw, 66px);
}
.hero h1,
.featured h2 {
  font:
    italic 900 clamp(60px, 7.8vw, 122px) / 0.89 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -0.073em;
  margin: 0;
}
.hero h1 {
  max-width: 60%;
}
.hero em {
  font: inherit;
  color: var(--green);
}
.hero p {
  font-size: clamp(15px, 1.3vw, 19px);
  color: #d2d6cc;
  line-height: 1.4;
  margin: 24px 0;
}
.hero .actions {
  gap: 24px;
  align-items: center;
}
.hero .primary {
  min-width: 138px;
  justify-content: space-between;
}
.hero-chat {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.featured {
  max-width: 1500px;
  margin: auto;
  padding: 38px clamp(18px, 4vw, 66px) 60px;
}
.featured h2 {
  font-size: clamp(35px, 4vw, 62px);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0;
  border-radius: 0;
}
.feature-pic {
  aspect-ratio: 1.7;
  background: #171916;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
}
.feature-pic img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
  background: #1a1b19;
}
.feature-card:hover img {
  transform: scale(1.025);
}
.feature-meta,
.doc-ref,
.paper small,
.bubble > small {
  font: 12px/1.55 var(--mono);
  color: var(--muted);
}
.feature-meta {
  margin: 15px 0 5px;
}
.feature-title {
  font-size: clamp(21px, 2.3vw, 33px);
  letter-spacing: -0.05em;
  font-weight: 750;
  display: flex;
  justify-content: space-between;
}
.feature-title i {
  font: normal 20px var(--display);
  color: var(--green);
}
.feature-card > b {
  font: 14px var(--mono);
  margin-top: 8px;
}
.bottom-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px clamp(18px, 4vw, 66px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.bottom-line > a:first-child {
  font-size: 19px;
  color: var(--ink);
}
.bottom-line > a:last-child {
  text-decoration: none;
}
.market-title {
  margin-bottom: 24px;
}
.market-title h1,
.section-head h1,
.paper h1,
.auth-main h1,
.narrow h1,
.room-head h1 {
  font:
    italic 900 clamp(32px, 4.2vw, 62px) / 1.02 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}
.market-title .back {
  margin-bottom: 8px;
}
.categories {
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 4px;
}
.tabs button[aria-pressed="true"] {
  background: var(--green);
  color: #1b210e;
}
.menu-head {
  margin: 18px 0;
}
.product {
  border-color: var(--line);
  background: var(--white);
}
.product-image {
  background: #131511;
  aspect-ratio: 1.15;
}
.product-image img,
.detail-photo {
  object-fit: contain;
  background: #191a18;
}
.detail-photo {
  aspect-ratio: 1.55;
  width: 100%;
}
.product-title {
  padding: 0;
  background: transparent;
  border: 0;
}
.product-copy {
  padding: 14px;
}
.seller-dot,
.provider-dot {
  background: var(--green);
}
#item-count,
.group-link,
.empty-bag,
.cart-pane,
.dialog-x,
.ai-open {
  background: #242720;
  color: var(--ink);
}
.cart-pane {
  border-color: var(--line);
}
.group-link,
.dialog-x,
.cart-head .bag {
  color: var(--green);
}
.empty-bag i,
.empty-bag i:before {
  border-color: #8c967e;
}
.product-meta,
.kicker {
  font-family: var(--mono);
}
.methods label:has(:checked) {
  background: #27301e;
  border-color: var(--green);
}
.pill,
.pill.paid {
  background: #303828;
  color: #d7e3cb;
}
.summary {
  background: var(--pine);
}
#notice:not(:empty) {
  background: #252922;
  border: 1px solid #697957;
}
dialog::backdrop {
  background: #040503c9;
}
.surface {
  padding: clamp(17px, 2.3vw, 30px);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  min-width: 0;
}
.surface h2,
.auth-main h1 {
  margin: 0;
}
.surface > p {
  line-height: 1.55;
}
.work-grid,
.ops-grid,
.paper-grid,
.chat-layout {
  display: grid;
  align-items: start;
  gap: 18px;
}
.work-grid {
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.35fr);
}
.ops-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
}
.paper-grid,
.chat-layout {
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
}
.narrow {
  max-width: 520px;
  margin: 6vh auto;
}
.narrow p {
  margin: 20px 0;
}
.wallet {
  display: grid;
  gap: 15px;
}
.display-money,
.invoice-total strong {
  font:
    italic 900 clamp(30px, 4vw, 50px) / 1.05 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  color: var(--green);
}
.panel-head,
.invoice-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.doc-row,
.line-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.doc-row small,
.line-table small,
.doc-ref,
.paper > small,
.record small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.doc-row:hover:is(a) {
  color: var(--green);
}
.doc-end {
  text-align: right;
}
.line-table b {
  white-space: nowrap;
}
.paper h1 {
  margin: 38px 0 10px;
}
.paper p b {
  display: block;
}
.paper-logo {
  white-space: normal;
  font-size: 22px;
}
.invoice-total {
  flex-wrap: wrap;
  padding: 24px 0;
}
.record {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.desk-bars {
  margin-bottom: 18px;
}
.desk-metric strong {
  color: var(--green);
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  max-width: 870px;
  margin: 5vh auto;
  background: var(--white);
  border: 1px solid var(--line);
}
.auth-main {
  padding: clamp(25px, 4vw, 55px);
}
.auth-main > p {
  margin: 15px 0 25px;
}
.auth-main > .text-link {
  margin-top: 15px;
}
.auth-image {
  background: #121311 url("/iron/hero.webp") 81% center/auto 100% no-repeat;
}
.chat-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 360px;
}
.chat-main .form {
  margin-top: auto;
}
.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
}
.chat-empty {
  padding: 22px 0;
}
.chat-empty button {
  margin-top: 18px;
}
.bubble {
  max-width: 90%;
  padding: 13px 16px;
  background: #242721;
  margin-bottom: 12px;
  border-left: 2px solid #505949;
}
.bubble.you {
  background: #2c3821;
  border-color: var(--green);
  margin-left: auto;
}
.bubble p {
  margin: 5px 0;
  line-height: 1.5;
}
.chat-doc {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.chat-doc > .panel-head {
  margin-top: 12px;
}
.bill-actions .button,
.bill-actions button {
  width: 100%;
}
a:hover {
  transition: color 0.14s;
}
.group-link {
  margin-top: 10px;
}
@media (max-width: 850px) {
  .hero {
    min-height: 400px;
  }
  .hero h1 {
    max-width: 75%;
  }
  .top-in {
    gap: 22px;
  }
  .top nav {
    gap: 16px;
  }
  .work-grid,
  .ops-grid,
  .chat-layout,
  .paper-grid {
    grid-template-columns: 1fr;
  }
  .chat-layout aside {
    grid-row: 1;
  }
  .chat-layout aside p {
    display: none;
  }
  .chat-layout aside {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .chat-layout aside a {
    display: none;
  }
}
@media (max-width: 680px) {
  .top-in {
    height: auto;
    min-height: 84px;
    gap: 5px 10px;
    padding-top: 12px;
  }
  .iron-logo {
    font-size: 21px;
  }
  .iron-mark {
    margin-right: 8px;
    gap: 2px;
  }
  .user-tools {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }
  .user-tools > a {
    max-width: 13ch;
    font-size: 12px;
  }
  .header-cart {
    padding: 7px 10px;
  }
  .cart-word {
    display: none;
  }
  .top nav {
    gap: 23px;
    overflow: auto;
  }
  .hero {
    background-position: 64% center;
    min-height: 415px;
    align-items: end;
    position: relative;
    isolation: isolate;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      0deg,
      #080908 0%,
      #0a0a0aa6 41%,
      transparent 100%
    );
  }
  .hero-in {
    padding: 35px 18px;
  }
  .hero h1 {
    font-size: clamp(56px, 12vw, 78px);
    max-width: 100%;
  }
  .hero p {
    max-width: 265px;
    margin: 15px 0;
  }
  .hero .actions {
    gap: 14px;
  }
  .hero-chat {
    font-size: 12px;
  }
  .featured {
    padding: 25px 18px 36px;
  }
  .featured .section-head {
    align-items: center;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    align-content: center;
  }
  .feature-card:last-child .feature-pic {
    grid-row: 1/4;
  }
  .feature-card:last-child .feature-meta {
    align-self: end;
  }
  .feature-pic {
    aspect-ratio: 1.12;
  }
  .feature-title {
    font-size: 18px;
  }
  .feature-meta {
    font-size: 10px;
  }
  .bottom-line {
    flex-wrap: wrap;
  }
  .bottom-line span {
    display: none;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .auth-wrap {
    display: block;
  }
  .auth-image {
    display: none;
  }
  .composer {
    grid-template-columns: 1fr;
  }
  .bubble {
    max-width: 100%;
  }
  .desk-bars {
    grid-template-columns: 1fr;
  }
  .chat-layout aside {
    grid-template-columns: 1fr;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .market-title input {
    width: 100%;
  }
  .cart-thumb {
    object-fit: cover;
  }
}
@media (max-width: 900px) {
  .top-in {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    height: auto;
    padding-top: 10px;
  }
  .top .user-tools {
    grid-area: 1 / 2;
    justify-content: flex-end;
    margin-left: 0;
  }
  .top .header-cart { flex: none; }
  .top nav {
    grid-area: 2 / 1 / 3 / -1;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #616858 transparent;
    padding: 0;
  }
  .top nav a { flex: none; padding-block: 9px; }
}
@media print {
  * {
    color: #111 !important;
    background: white !important;
    box-shadow: none !important;
  }
  .top,
  .bottom-line,
  .back,
  .bill-actions,
  .paper-grid > aside,
  #notice,
  dialog {
    display: none !important;
  }
  main,
  .paper-grid,
  .paper {
    display: block !important;
    width: 100%;
    max-width: none;
    padding: 0 !important;
    border: 0 !important;
  }
  .paper {
    padding: 15mm !important;
  }
  .paper .doc-ref {
    overflow-wrap: anywhere;
  }
}

.hero h1,
.featured h2,
.iron-logo {
  word-spacing: 0.105em;
}
.hero h1,
.featured h2 {
  letter-spacing: -0.05em;
}
.feature-pic {
  aspect-ratio: 1.25;
}
.feature-pic img {
  object-fit: cover;
}
.feature-title {
  letter-spacing: -0.035em;
}

.available-tools {
  margin-top: 20px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.tool-item {
  padding: 13px;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.tool-item code {
  font-size: 12px;
  color: var(--green);
}
#registry-result {
  overflow-wrap: anywhere;
}

.buyer-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 1.5rem 0;
}
.buyer-head h1 {
  margin: 0.35rem 0;
  font:
    italic 900 clamp(34px, 5vw, 68px) / 1 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -0.05em;
}
.buyer-head p {
  margin: 0;
}
.buyer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr);
  gap: 18px;
  align-items: start;
}
.buyer-dialog,
.buyer-basket {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-width: 0;
}
.buyer-dialog {
  display: flex;
  flex-direction: column;
  min-height: 450px;
}
.buyer-bar,
.buyer-form {
  padding: 16px 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.buyer-bar {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.bot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.buyer-log {
  padding: 20px;
  max-height: 53vh;
  overflow-y: auto;
  flex: 1;
}
.buyer-welcome {
  padding: 20px 0;
}
.buyer-welcome p {
  line-height: 1.6;
  color: var(--muted);
}
.buyer-form {
  border-top: 1px solid var(--line);
  margin-top: auto;
  align-items: end;
}
.buyer-form textarea {
  resize: vertical;
  min-height: 48px;
}
.buyer-basket #basket-content {
  padding: 22px;
}
.buyer-line {
  overflow-wrap: anywhere;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.buyer-line small {
  display: block;
  color: var(--muted);
  margin: 5px 0;
}
.buyer-thumb {
  width: 52px;
  height: 58px;
  object-fit: cover;
}
.basket-handle {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.widget .top,
.widget .bottom-line,
.widget .buyer-head > a {
  display: none;
}
@media (max-width: 720px) {
  .buyer-layout {
    display: block;
    padding-bottom: 72px;
  }
  .buyer-basket {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    box-shadow: 0 -4px 24px #0007;
  }
  .basket-handle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 57px;
    padding: 10px 20px;
    color: var(--green);
  }
  .buyer-basket #basket-content {
    display: none;
  }
  .buyer-basket #basket-content.expanded {
    display: block;
    max-height: 63vh;
    overflow: auto;
  }
  .buyer-dialog {
    min-height: 50vh;
  }
  .buyer-form,
  .buyer-log,
  .buyer-bar {
    padding: 12px;
  }
  .buyer-form {
    flex-wrap: wrap;
  }
  .buyer-form .primary {
    margin-left: auto;
  }
  .buyer-head {
    margin: 12px 0;
  }
  .buyer-line {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  .buyer-thumb {
    width: 44px;
    height: 48px;
  }
}
.iron-intro {
  min-height: clamp(460px, 48vw, 740px);
}
.training-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 370px;
}
.training-visual {
  min-height: 310px;
  background: #1a1c18 url("/iron/training-floor.webp") center/cover no-repeat;
}
.training-copy {
  align-self: center;
  padding: clamp(28px, 5vw, 80px);
}
.training-copy h2 {
  margin: 0;
  font:
    italic 900 clamp(42px, 5.5vw, 88px) / 0.93 Rubik,
    Arial,
    sans-serif;
  letter-spacing: -0.05em;
}
.training-copy p,
.pickup-strip p {
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.6;
}
.pickup-strip {
  margin: auto;
  max-width: 1500px;
  padding: 36px clamp(18px, 4vw, 66px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.pickup-strip h2 {
  font-size: clamp(26px, 3vw, 44px);
  margin: 0;
}
.top nav a[aria-current="page"] {
  color: var(--green);
}
@media (max-width: 680px) {
  .training-story {
    grid-template-columns: 1fr;
  }
  .training-visual {
    min-height: 235px;
  }
  .pickup-strip {
    display: grid;
    gap: 8px;
  }
  .pickup-strip .button {
    justify-self: start;
  }
}
.buyer-steps {
  display: flex;
  gap: 4px;
  padding-top: 5px;
}
.buyer-steps button {
  padding: 0;
  width: 32px;
  height: 30px;
  font: 600 16px system-ui;
  color: inherit;
  border: 1px solid #44483e;
  background: #232620;
  border-radius: 4px;
}
#buyer-contact {
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}
#buyer-contact summary {
  cursor: pointer;
}
#buyer-contact label {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}
.buyer-support {
  display: inline-block;
  margin-top: 12px;
}
.buyer-form .primary {
  flex-shrink: 0;
  white-space: nowrap;
}
