@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Display";
  src: url("/fonts/funnel.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: Inter, Arial, sans-serif;
  color: #111;
  background: #fff;
  font-synthesis: none;
  font-size: 14px;
  --border: #dedee2;
  --muted: #777780;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  transition: background 0.15s;
}
button:hover {
  filter: brightness(0.94);
}
.site-header {
  max-width: 1240px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: "Funnel Display", sans-serif;
  font-size: 28px;
  letter-spacing: -1.5px;
}
.brand span {
  font-family: var(--mono);
  font-size: 10px;
  color: #929299;
  letter-spacing: 0;
  margin-left: 12px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 12px;
}
nav a span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 5px;
  border: 1px solid #ddd;
  margin-left: 5px;
}
.connection {
  font-size: 11px;
  color: #777;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #111;
  border-radius: 50%;
  margin-right: 5px;
}
.hero {
  position: relative;
  text-align: center;
  padding: 14px 20px 60px;
  isolation: isolate;
  overflow: hidden;
}
.wordmark {
  font-family: "Funnel Display", Arial, sans-serif;
  font-size: clamp(72px, 12vw, 144px);
  line-height: 1.1;
  letter-spacing: -10px;
  font-weight: 400;
  margin: 12px 0 21px;
}
.hero h1 {
  font-family: "Funnel Display", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0 0 15px;
}
.hero mark {
  background: #111;
  color: #fff;
  padding: 1px 5px;
}
.subtitle {
  font-size: 13px;
  line-height: 1.6;
  color: #313138;
  margin: 0 auto 35px;
}
.terminal-button {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  background: #fff;
  border: 1px solid #222;
  padding: 0 0 0 16px;
  font: 12px var(--mono);
  height: 47px;
  box-shadow: 3px 3px 0 #ececee;
}
.prompt-symbol {
  color: #999;
}
.terminal-arrow {
  display: grid;
  place-items: center;
  border-left: 1px solid #222;
  background: #111;
  color: #fff;
  font-family: Inter;
  font-size: 20px;
  height: 45px;
  width: 47px;
  margin-left: 40px;
}
.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  margin-top: 11px;
  font-size: 10px;
}
.hero-caption span:first-child {
  background: #111;
  color: #fff;
  padding: 4px 8px;
}
.hero-caption span:last-child {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: #85858b;
}
.water {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 100px;
  width: min(1140px, 130vw);
  height: 330px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      #bcbccc55 12px 13px,
      transparent 13px 20px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 7px,
      #c6c6d54d 7px 8px,
      transparent 8px 29px
    );
  background-size:
    87px 100%,
    139px 100%;
  mask-image: radial-gradient(
    ellipse at center,
    #000 0%,
    #0009 40%,
    transparent 72%
  );
  opacity: 0.65;
}
.water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    95deg,
    transparent 0 27px,
    #fff 28px 63px,
    transparent 64px 104px
  );
  opacity: 0.9;
}
.buoy {
  position: absolute;
  z-index: 1;
  width: 48px;
  height: 27px;
  border: 1px solid #5c5c65;
  border-radius: 50% 50% 15% 15%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 5px,
    #898991 5px 6px
  );
  transform: rotate(18deg);
}
.buoy-one {
  top: 170px;
  left: 10%;
}
.buoy-two {
  top: 215px;
  right: 9%;
  transform: rotate(-8deg);
}
.buoy-three {
  top: 20px;
  right: 24%;
  width: 29px;
  height: 17px;
  opacity: 0.5;
}
.page {
  max-width: 1180px;
  padding: 0 30px;
  margin: 0 auto;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.section-heading h2 {
  font:
    400 25px "Funnel Display",
    sans-serif;
  letter-spacing: -0.5px;
}
.live-label {
  font: 10px var(--mono);
  color: #777;
}
h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.stats article {
  padding: 20px 23px;
  border-right: 1px solid var(--border);
}
.stats article:last-child {
  border: 0;
}
.stats article > span {
  font-size: 11px;
  color: #6e6e76;
}
.stats strong {
  display: block;
  font-family: "Funnel Display", sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 7px;
}
.stats small {
  font: 9px var(--mono);
  color: #98989e;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #777;
  margin: 0 0 20px;
  padding: 9px 0;
}
.notice strong {
  color: #222;
  font-weight: 500;
}
.notice-icon {
  font-size: 19px;
  color: #444;
}
.pill {
  font: 8px var(--mono);
  letter-spacing: 0.2px;
  border: 1px solid var(--border);
  padding: 5px 7px;
  white-space: nowrap;
}
.notice .pill {
  margin-left: auto;
}
.workbench {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  border: 1px solid #cfcfd5;
  min-height: 460px;
}
.task-panel {
  border-right: 1px solid var(--border);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 18px;
}
.panel-index {
  font: 9px var(--mono);
  color: #a0a0a7;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  margin: 0 16px;
  padding: 0 10px;
  color: #8c8c96;
}
.search input {
  background: none;
  border: none;
  width: 100%;
  min-width: 0;
  font-size: 11px;
  padding: 10px 0;
}
.search input:focus {
  outline: none;
}
.search:focus-within {
  outline: 1px solid #111;
}
.filters {
  display: flex;
  gap: 4px;
  padding: 13px 16px;
}
.filter {
  background: #fff;
  border: 1px solid transparent;
  font-size: 10px;
  padding: 5px 8px;
  color: #777;
}
.filter.active {
  border-color: #111;
  background: #111;
  color: white;
}
.job-list {
  max-height: 560px;
  overflow: auto;
}
.job {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid #eeeef1;
  background: #fff;
  padding: 17px 18px;
  border-left: 2px solid transparent;
}
.job:hover {
  background: #fafafa;
}
.job.selected {
  background: #f6f6f8;
  border-left-color: #111;
}
.job-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  gap: 5px;
}
.run-id {
  font: 9px var(--mono);
  color: #939399;
}
.job-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.job-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  font: 9px var(--mono);
  color: #929299;
}
.badge {
  display: inline-block;
  font: 9px var(--mono);
  line-height: 1.4;
  border: 1px solid #dcdce1;
  padding: 3px 5px;
  color: #64646e;
  background: #fff;
}
.badge.awaiting_review {
  border-color: #cbc7d9;
  color: #625971;
  background: #f3f1f8;
}
.badge.succeeded {
  border-color: #cbd5cc;
  color: #45614c;
  background: #f4f7f3;
}
.badge.failed,
.badge.budget_exceeded,
.badge.interrupted {
  border-color: #e0c9c6;
  color: #965d55;
  background: #fcf6f5;
}
.badge.running,
.badge.preparing,
.badge.provisioning,
.badge.verifying {
  background: #111;
  color: #fff;
  border-color: #111;
}
.detail-panel {
  min-width: 0;
}
.detail-header {
  padding: 23px 25px;
  border-bottom: 1px solid var(--border);
}
.detail-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.detail-header h2 {
  font:
    400 24px "Funnel Display",
    sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.detail-subtitle {
  font: 10px var(--mono);
  color: #888;
  margin: 10px 0;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.primary,
.secondary,
.danger {
  display: inline-block;
  padding: 9px 12px;
  font: 10px var(--mono);
  border: 1px solid #222;
  background: white;
  color: #222;
  border-radius: 0;
}
.primary {
  background: #111;
  color: #fff;
}
.danger {
  border-color: #c29993;
  color: #99584e;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  padding: 17px 25px;
  gap: 10px;
}
.detail-metrics span {
  display: block;
  font: 8px var(--mono);
  color: #94949c;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.detail-metrics strong {
  font-size: 10px;
  font-weight: 400;
  color: #555;
}
.tabs {
  display: flex;
  gap: 21px;
  padding: 0 25px;
  border-bottom: 1px solid var(--border);
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 0 12px;
  background: white;
  color: #898992;
  font-size: 11px;
}
.tab.active {
  border-bottom-color: #111;
  color: #111;
}
.tab-content {
  padding: 20px 25px;
  min-height: 230px;
  max-height: 450px;
  overflow: auto;
}
.code {
  font: 11px/1.9 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  color: #5f5f69;
}
.diff-line {
  display: block;
  min-height: 19px;
  padding: 0 7px;
}
.diff-line.add {
  background: #f0f6ed;
  color: #47703f;
}
.diff-line.remove {
  background: #fcf0ee;
  color: #976457;
}
.diff-line.meta {
  background: #f6f6f9;
  color: #878394;
}
.hint {
  font-size: 11px;
  line-height: 1.8;
  color: #888;
}
.error-box {
  border: 1px solid #e4d3d0;
  background: #fcf7f6;
  color: #995e56;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.result-card {
  padding: 12px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.result-card summary {
  font-size: 11px;
  cursor: pointer;
}
.result-card pre {
  margin-top: 15px;
}
.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 11px;
}
.activity-item time {
  font: 9px var(--mono);
  color: #aaa;
  white-space: nowrap;
}
.activity-item strong {
  font-weight: 500;
}
.activity-item p {
  font: 9px/1.7 var(--mono);
  color: #999;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.empty-detail {
  text-align: center;
  padding: 40px 20px;
}
.empty-symbol {
  font: 14px/1.3 var(--mono);
  color: #9797a5;
  margin: 0 0 22px;
}
.eyebrow {
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #999;
  margin: 0 0 13px;
}
.empty-detail h2 {
  font:
    400 25px "Funnel Display",
    sans-serif;
}
.empty-detail > p:not(.eyebrow) {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin: 15px 0 20px;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 15px;
  font: 9px var(--mono);
  margin-top: 34px;
  color: #aaa;
}
.steps b {
  font-weight: 400;
  color: #777;
}
.steps i {
  font-style: normal;
}
.list-empty {
  padding: 35px 20px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: #999;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 27px 0 35px;
  color: #939399;
  font: 9px var(--mono);
}
footer > span:first-child {
  font:
    22px "Funnel Display",
    sans-serif;
  color: #111;
}
footer b {
  font: 9px var(--mono);
  color: #aaa;
  margin-left: 10px;
}
dialog {
  width: min(470px, calc(100% - 30px));
  padding: 26px;
  border: 1px solid #111;
  border-radius: 0;
  color: #111;
  box-shadow: 7px 7px 0 #0001;
}
dialog::backdrop {
  background: #ffffffa8;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading h2 {
  font:
    400 31px "Funnel Display",
    sans-serif;
  letter-spacing: -0.7px;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 24px;
  color: #888;
}
.dialog-description {
  font-size: 12px;
  line-height: 1.8;
  color: #888;
  margin: 18px 0 23px;
}
form > label,
.form-row label {
  display: block;
  font-size: 11px;
  margin-bottom: 15px;
}
form input,
form select {
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid #d2d2d8;
  background: #fff;
  padding: 11px;
  color: #333;
  font-size: 12px;
  border-radius: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note {
  font: 10px/1.8 var(--mono);
  border-left: 2px solid #111;
  background: #f7f7f9;
  padding: 12px;
  color: #777;
}
.form-error {
  font-size: 11px;
  color: #a34d42;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 23px;
}
.toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  max-width: 90%;
  background: #111;
  color: #fff;
  font: 11px/1.7 var(--mono);
  box-shadow: 3px 3px 0 #ccc;
}
@media (max-width: 900px) {
  .workbench {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .notice {
    flex-wrap: wrap;
  }
  .notice .pill {
    margin-left: 24px;
  }
  .hero h1 {
    font-size: 20px;
  }
  .page {
    padding: 0 22px;
  }
  .detail-header,
  .tab-content {
    padding: 20px;
  }
  .detail-metrics {
    padding: 16px 20px;
  }
  .tabs {
    padding: 0 20px;
    gap: 16px;
  }
}
@media (max-width: 680px) {
  .site-header {
    padding: 18px 20px;
  }
  nav {
    gap: 14px;
  }
  .connection {
    font-size: 9px;
  }
  .brand span {
    display: none;
  }
  .hero {
    padding: 15px 18px 39px;
  }
  .wordmark {
    font-size: clamp(58px, 18vw, 110px);
    letter-spacing: -0.06em;
    margin: 0 0 20px;
  }
  .hero h1 {
    font-size: 20px;
    line-height: 1.7;
    max-width: 340px;
    margin: 0 auto 13px;
  }
  .subtitle {
    font-size: 11px;
    max-width: 330px;
    margin-bottom: 25px;
  }
  .subtitle br {
    display: none;
  }
  .water {
    top: 80px;
    height: 310px;
  }
  .terminal-button {
    font-size: 11px;
    gap: 12px;
  }
  .terminal-arrow {
    margin-left: 15px;
  }
  .hero-caption span:last-child {
    font-size: 7px;
  }
  .page {
    padding: 0 16px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .stats article {
    padding: 12px 10px;
  }
  .stats article > span {
    font-size: 9px;
  }
  .stats strong {
    font-size: 28px;
  }
  .stats small {
    display: none;
  }
  .notice {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .workbench {
    grid-template-columns: 1fr;
  }
  .task-panel {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .job-list {
    max-height: 255px;
  }
  .detail-header h2 {
    font-size: 23px;
  }
  .detail-metrics {
    gap: 7px;
  }
  .detail-metrics strong {
    font-size: 9px;
  }
  .tabs {
    gap: 19px;
  }
  .tab {
    font-size: 10px;
  }
  .tab-content {
    min-height: 190px;
  }
  footer {
    font-size: 8px;
    line-height: 1.8;
    flex-direction: column;
    gap: 10px;
  }
  .empty-detail {
    padding: 32px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.login-shell {
  max-width: 480px;
  margin: 12vh auto;
  padding: 32px;
  border: 1px solid #111;
}
.login-shell h1 {
  font:
    500 48px "Funnel Display",
    sans-serif;
  letter-spacing: -2px;
}
.login-shell form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.login-shell label {
  display: grid;
  gap: 8px;
}
.login-shell input {
  padding: 12px;
  border: 1px solid #bbb;
  width: 100%;
  box-sizing: border-box;
}
#login-error {
  color: #a12525;
}
.preview-frame {
  width: 100%;
  min-height: 500px;
  border: 1px solid #ddd;
  background: white;
}

#task-prompt {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #ccc;
  font: inherit;
  resize: vertical;
}

.public-workspace-link {
  border-bottom: 1px solid #111;
  padding-bottom: 5px;
}
.public-workflow {
  padding-top: 24px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.workflow-grid article {
  padding: 28px;
  border-right: 1px solid var(--border);
}
.workflow-grid article:last-child {
  border-right: 0;
}
.workflow-grid article > span {
  font: 9px var(--mono);
  color: #85858b;
  letter-spacing: 1px;
}
.workflow-grid h3 {
  font:
    400 22px "Funnel Display",
    sans-serif;
  letter-spacing: -0.4px;
  margin: 24px 0 12px;
}
.workflow-grid p {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}
@media (max-width: 680px) {
  .public-workflow .panel-index {
    display: none;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }
  .workflow-grid article:last-child {
    border-bottom: 0;
  }
}

.brand-icon {
  display: block;
  width: 44px;
  height: 44px;
}
.login-shell > .brand {
  display: flex;
  width: fit-content;
  margin-bottom: 20px;
}

.social-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #dedfd6;
  border-radius: 50%;
  color: #171b15;
  transition: background 0.15s;
}
.social-x:hover {
  background: #c4ff45;
}
.social-x:focus-visible {
  outline: 2px solid #6e952a;
  outline-offset: 3px;
}
.access-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.buy-boat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 17px;
  border: 1px solid #a8d93b;
  border-radius: 7px;
  background: #b9f532;
  color: #1b2712;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s;
}
.buy-boat:hover {
  background: #c9ff55;
  transform: translateY(-2px);
}
.boat-token {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid #dce6ce;
  border-bottom: 1px solid #dce6ce;
}
.boat-token h2 {
  font:
    500 42px "Funnel Display",
    sans-serif;
  letter-spacing: -1.5px;
  margin: 0 0 10px;
}
.boat-token p {
  color: #737b6c;
  font-size: 13px;
}
.boat-token .section-kicker {
  margin-bottom: 16px;
}
.boat-token-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}
.boat-contract {
  max-width: 100%;
}
.boat-contract > span {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #7b8471;
  margin-bottom: 9px;
}
.boat-contract code {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: #4b6238;
}
@media (max-width: 700px) {
  .site-header .nav-how {
    display: none;
  }
  .site-header nav {
    gap: 10px;
  }
  .site-header .buy-boat {
    padding: 9px 11px;
    font-size: 11px;
  }
  .boat-token {
    flex-direction: column;
    align-items: flex-start;
  }
  .access-header {
    flex-wrap: wrap;
    gap: 15px;
  }
  .access-links {
    gap: 12px;
  }
}
