@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

/* Black night, dot-matrix forest, one campfire. Glass panels pick up the firelight behind them. */
:root {
  --black: #000;
  --text: #f2efe8;
  --text-2: #aeaaa1;
  --muted: #85827b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-solid: #121211;
  --raised: rgba(255, 255, 255, 0.07);
  --ember: #f2a541;
  --ember-hover: #f6b964;
  --on-ember: #1a1004;
  --good: #8fd0a8;
  --sans:
    "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--black);
}
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
  border-radius: 4px;
}
b {
  font-weight: 500;
}
.wrap {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}
.sprite {
  display: none;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--black);
}
.skip:focus {
  top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
  line-height: 20px;
}
.fig {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86em;
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
}
/* Signature: an ember asterisk marks anything that is live. */
.live,
.pending {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
}
.live::before {
  content: "*";
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ember);
}
.pending {
  color: var(--muted);
}

/* Frosted glass, with a solid fallback where backdrop-filter isn't supported */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
/* Fog inside the glass: a faint dot matrix that thins out toward the bottom, like the forest mist */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 0.8px, transparent 1.2px) 0 0 /
      4px 4px,
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0) 40%
    );
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.15) 70%);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.15) 70%);
  pointer-events: none;
}
.glass > * {
  position: relative;
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .glass {
    background: var(--glass-solid);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    transform 150ms var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--ember);
  color: var(--on-ember);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: var(--ember-hover);
}
.btn-light {
  background: var(--text);
  color: var(--black);
}
.btn-light:hover {
  background: #fff;
}
.btn-quiet {
  background: var(--raised);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 18px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  font-family: var(--mono);
  color: var(--ember);
  letter-spacing: -0.08em;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
}
.nav a,
.menu a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.nav a:hover,
.menu a:hover {
  color: var(--text);
}
.menu {
  display: none;
  position: relative;
  margin-left: auto;
}
.menu summary {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu nav {
  position: absolute;
  right: 0;
  top: 44px;
  display: grid;
  min-width: 200px;
  padding: 8px;
  background: var(--glass-solid);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.menu nav a {
  padding: 8px 12px;
  border-radius: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 940px;
  overflow: hidden;
}
.forest {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.rules {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rules i {
  position: absolute;
  background: var(--line);
}
.rules i:nth-child(1),
.rules i:nth-child(2) {
  top: 0;
  bottom: 0;
  width: 1px;
}
.rules i:nth-child(1) {
  left: calc(50% - 624px);
}
.rules i:nth-child(2) {
  left: calc(50% + 624px);
}
.rules i:nth-child(3) {
  left: 0;
  right: 0;
  top: 96px;
  height: 1px;
}
.rules b {
  position: absolute;
  top: 88px;
  width: 17px;
  height: 17px;
  margin-left: -8px;
}
.rules b::before,
.rules b::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
}
.rules b::before {
  left: 8px;
  top: 0;
  width: 1px;
  height: 17px;
}
.rules b::after {
  top: 8px;
  left: 0;
  height: 1px;
  width: 17px;
}
.rules b:nth-of-type(1) {
  left: calc(50% - 624px);
}
.rules b:nth-of-type(2) {
  left: calc(50% + 624px);
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 128px;
  padding-bottom: 208px;
  text-align: center;
}
h1 {
  font: 600 clamp(40px, 6.2vw, 88px) / 1 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 .line {
  display: block;
}
.pill {
  position: relative;
  display: inline-block;
  padding: 0 0.32em 0.06em;
  margin-top: 0.08em;
  font: italic 400 1.04em/1 var(--serif);
  letter-spacing: -0.01em;
  color: #fff8ec;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 24px rgba(242, 165, 65, 0.1),
    0 0 48px rgba(242, 165, 65, 0.22);
  text-shadow: 0 0 24px rgba(255, 220, 170, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pill::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 230, 190, 0.9),
    transparent
  );
}
.lede {
  max-width: 36rem;
  margin-top: 32px;
  font-size: 19px;
  line-height: 30px;
  color: var(--text-2);
}

/* Human | Agent */
.mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 40px;
}
.mode-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mode-tabs[hidden] {
  display: none;
}
.mode-tabs button {
  min-width: 112px;
  height: 36px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    color 150ms var(--ease);
}
.mode-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.mode-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.mode-panel[hidden] {
  display: none;
}
.hint {
  font-size: 14px;
  color: var(--muted);
}
.prompt {
  width: min(720px, 100%);
  text-align: left;
  border-radius: 16px;
}
.prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 8px 8px 8px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
  transition: background-color 150ms var(--ease);
}
.copy:hover {
  background: rgba(255, 255, 255, 0.14);
}
.copy .icon {
  width: 16px;
  height: 16px;
  color: var(--text-2);
}
.copy.done {
  color: var(--good);
}
.prompt-text {
  position: relative;
  max-height: 264px;
  overflow: auto;
  padding: 20px;
  font: 400 12.5px/20px var(--mono);
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Glass card stack rising out of the forest floor */
.stack-section {
  position: relative;
  z-index: 1;
  margin-top: -112px;
}
.stack {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
}
.card-main {
  z-index: 2;
  overflow: hidden;
}
.card-side {
  padding: 24px;
  opacity: 0.92;
}
.card-left {
  margin-right: -40px;
  transform: translateY(32px);
}
.card-right {
  margin-left: -40px;
  transform: translateY(32px);
}
.card-left .facts,
.card-right .facts {
  margin-top: 16px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.card-head .live,
.card-head .pending {
  margin-left: auto;
}
.card-right {
  padding-left: 64px;
}
.card-left {
  padding-right: 64px;
}
.window-bar,
.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.window-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.tag {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-2);
}
.stack-caption {
  max-width: 640px;
  margin-top: 80px;
  text-align: center;
}
.stack-caption h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.stack-caption p {
  margin-top: 16px;
  color: var(--text-2);
}
.tents li {
  display: grid;
  grid-template-columns: 18px 1fr auto 48px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.t-main {
  display: grid;
  min-width: 0;
}
.t-main b {
  font-size: 15px;
}
.t-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}
.tents .fig,
.window-foot .fig {
  text-align: right;
  font-size: 13px;
}
.window-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-2);
}
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.ways dt {
  font-weight: 500;
}
.ways dd {
  margin-top: 8px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
}

/* Sections: rails at the content edges, a hairline and cross marks where each section starts */
main {
  position: relative;
}
main::before,
main::after {
  content: "";
  position: absolute;
  top: 940px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 160px);
  pointer-events: none;
}
main::before {
  left: calc(50% - 624px);
}
main::after {
  left: calc(50% + 624px);
}
.section {
  position: relative;
  padding-top: 160px;
}
.section::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.section > .wrap {
  position: relative;
}
.section > .wrap::before,
.section > .wrap::after {
  content: "";
  position: absolute;
  top: -88px;
  width: 17px;
  height: 17px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35))
      center / 1px 17px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35))
      center / 17px 1px no-repeat;
}
.section > .wrap::before {
  left: -32px;
}
.section > .wrap::after {
  right: -32px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
h2 {
  font: 600 clamp(34px, 4.4vw, 60px) / 1.02 var(--sans);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head p {
  margin-top: 24px;
  max-width: 600px;
  color: var(--text-2);
}
.section-head p + p {
  margin-top: 12px;
}
h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.notes {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}
.card {
  padding: 28px;
}
.facts {
  border-top: 1px solid var(--line);
}
.facts div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  text-align: right;
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
}
.calc-in {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
fieldset + fieldset {
  margin-top: 32px;
}
legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.seg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.seg label,
.picks label {
  position: relative;
}
.seg input,
.picks input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.seg span {
  display: grid;
  place-items: center;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 13px/1 var(--mono);
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    color 150ms var(--ease);
}
.seg input:checked + span {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-2);
  color: var(--text);
}
.seg input:focus-visible + span,
.picks input:focus-visible + span {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
}
.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.picks span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease);
}
.picks span:hover {
  border-color: var(--line-2);
}
.picks input:checked + span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}
.calc-out {
  min-width: 0;
  padding: 28px;
}
.totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.totals dl {
  margin: 0;
}
.totals dt {
  font-size: 14px;
  color: var(--text-2);
}
.totals dd {
  margin-top: 8px;
  font: 600 40px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.totals .keep dd {
  color: var(--ember);
}
.totals small {
  display: block;
  margin-top: 8px;
  font: 400 14px/20px var(--sans);
  letter-spacing: 0;
  color: var(--text-2);
}
.totals > p,
.totals noscript p {
  grid-column: 1 / -1;
  font-size: 15px;
  color: var(--text-2);
}
.rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rows li:last-child {
  border-bottom: 0;
}
.r-name {
  font-weight: 500;
}
.r-name a {
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.r-name a:hover {
  text-decoration-color: var(--text-2);
}
.r-nums {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
  font: 400 14px/24px var(--mono);
  font-variant-numeric: tabular-nums;
}
.r-nums .unit {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
.r-nums s {
  margin-right: 8px;
  color: var(--muted);
}
.r-alt {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.r-verdict {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 20px;
}
.v-save {
  color: var(--good);
}
.v-meh {
  color: var(--text-2);
}
.v-stay {
  color: var(--muted);
}

/* Tents */
.tents-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: start;
}
.tent-top {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.tent-top p {
  font-size: 14px;
}
.tent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tent-actions span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
}
.tent-actions .quiet {
  margin-left: auto;
  border-color: transparent;
  color: var(--muted);
}
.steps {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
}
.steps li > div {
  min-width: 0;
}
.step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font: 500 13px/1 var(--mono);
  color: var(--text-2);
}
.steps p {
  font-size: 15px;
  color: var(--text-2);
}
.field-look,
.record {
  display: flex;
  align-items: center;
  height: 44px;
  margin-top: 12px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font: 400 13px/1 var(--mono);
}
.record {
  gap: 16px;
}
.record .target {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-tag {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font: 500 12px/1 var(--sans);
  color: var(--text-2);
}
.done {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-2);
}
.done + .small {
  margin-top: 8px;
}

/* Agents */
.agents-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.term {
  overflow: hidden;
}
.term-body {
  display: grid;
  gap: 8px;
  padding: 24px;
  font: 400 12.5px/21px var(--mono);
}
.term-body li {
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease);
}
.js .term-body li.wait {
  opacity: 0;
  transform: translateY(6px);
}
.who {
  display: inline-block;
  width: 56px;
  flex: none;
  color: var(--muted);
}
.t-user,
.t-agent {
  display: flex;
  font: 400 15px/24px var(--sans);
}
.t-user {
  padding-bottom: 8px;
}
.t-agent {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.t-agent .who {
  color: var(--ember);
}
.tool {
  color: var(--text);
}
.t-call code {
  font: inherit;
  color: var(--muted);
}
.t-call {
  margin-top: 8px;
}
.t-res {
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
  color: var(--text-2);
}
.term figcaption {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Security */
.sec {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: start;
}
.sec-panel {
  padding: 28px;
}
.sec-h {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.sec-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.sec-list dt {
  font-weight: 500;
}
.sec-list dd {
  margin-top: 4px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.plan-side {
  display: grid;
  gap: 24px;
}
.plan h3 {
  font-size: 16px;
  color: var(--text-2);
}
.price {
  font-size: 15px;
  color: var(--text-2);
}
.price .fig {
  font: 600 48px/1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--text);
}
.plan-side .price .fig {
  font-size: 36px;
}
.plan .btn {
  align-self: flex-start;
  margin-top: auto;
}
.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rates th,
.rates td {
  height: 44px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.rates th {
  font-weight: 400;
  color: var(--muted);
}
.rates td {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* Closing + footer */
.closing {
  position: relative;
  margin-top: 160px;
  height: 520px;
  overflow: hidden;
}
.closing-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.treeline {
  top: auto;
  height: 300px;
}
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}
.footer-inner > a {
  margin-left: auto;
  color: var(--text-2);
}
.brand-sm {
  font-size: 15px;
}

/* Signup + 404 */
.solo {
  padding: 120px 0 160px;
}
.solo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.solo-grid > *,
.stack > *,
.tents-grid > *,
.agents-grid > *,
.sec > *,
.plans > * {
  min-width: 0;
}
.solo h1 {
  max-width: 12ch;
  font-size: clamp(40px, 5vw, 64px);
}
.solo .lede {
  margin-top: 24px;
}
.signup-form {
  display: grid;
  gap: 20px;
  padding: 28px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--text);
  font: 400 16px/1 var(--sans);
}
.field input::placeholder {
  color: var(--muted);
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
}
.form-msg {
  font-size: 15px;
  color: var(--text-2);
}
.form-msg:empty {
  display: none;
}

@media (max-width: 1310px) {
  .rules,
  main::before,
  main::after,
  .section > .wrap::before,
  .section > .wrap::after {
    display: none;
  }
}
@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .header-inner {
    gap: 12px;
  }
  .rules,
  main::before,
  main::after,
  .section > .wrap::before,
  .section > .wrap::after {
    display: none;
  }
  .stack,
  .tents-grid,
  .agents-grid,
  .sec,
  .plans,
  .solo-grid,
  .calc,
  .ways {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calc {
    gap: 0;
  }
  .calc-in {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .card-side {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    min-height: 900px;
  }
  .hero-copy {
    padding-top: 72px;
    padding-bottom: 160px;
  }
  h1 {
    font-size: 40px;
  }
  .lede {
    font-size: 17px;
    line-height: 26px;
  }
  .mode-panel .btn-lg {
    width: 100%;
  }
  .prompt-bar span {
    font-size: 12px;
    line-height: 16px;
  }
  .stack-section {
    margin-top: -56px;
  }
  .tents li {
    grid-template-columns: 18px 1fr auto;
    padding: 0 16px;
  }
  .tents .fig {
    display: none;
  }
  .ways {
    margin-top: 48px;
  }
  .stack-caption {
    margin-top: 48px;
    text-align: left;
  }
  .section {
    padding-top: 112px;
  }
  .calc-in,
  .calc-out,
  .card,
  .sec-panel,
  .signup-form {
    padding: 20px;
  }
  .plan {
    padding: 24px;
  }
  .totals {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .totals .keep {
    grid-column: 1 / -1;
  }
  .rows li {
    grid-template-columns: 1fr;
  }
  .r-nums {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }
  .term-body {
    padding: 16px;
    font-size: 11.5px;
    line-height: 19px;
  }
  .t-call {
    display: grid;
  }
  .record span:nth-child(2) {
    display: none;
  }
  .closing {
    height: 440px;
  }
  .treeline {
    height: 220px;
  }
  .site-header .btn-sm {
    padding: 0 12px;
  }
  .footer-inner > a {
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .site-header .btn-sm {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .js .term-body li.wait {
    opacity: 1;
    transform: none;
  }
}
