.sampler-page {
  min-width: 320px;
  background-color: var(--void);
}

.sampler-status {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(103, 207, 200, .2);
  padding: 7px 18px;
  background: #0c0f14;
  color: var(--regolith);
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

.sampler-status strong {
  color: var(--data);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sampler-nav .nav-inner { justify-content: space-between; }

.sampler-nav-link {
  border: 1px solid rgba(103, 207, 200, .56);
  border-radius: 8px;
  padding: 8px 13px;
  color: var(--data);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.sampler-nav-link:hover {
  border-color: var(--data);
  background: rgba(103, 207, 200, .08);
}

.sampler-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 105px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(62px, 8vw, 110px) 0 clamp(76px, 9vw, 120px);
}

.sampler-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(650px 500px at 14% 30%, rgba(103, 207, 200, .08), transparent 72%),
    radial-gradient(600px 480px at 86% 15%, rgba(184, 167, 232, .07), transparent 75%);
  content: "";
}

.sampler-hero::after {
  position: absolute;
  z-index: -2;
  right: -5vw;
  bottom: -21vw;
  width: min(960px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("/assets/brand/lunar-horizon.webp") center bottom / 112% auto no-repeat;
  opacity: .25;
  content: "";
  filter: saturate(.7);
}

.sampler-orbit {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 5%;
  width: min(680px, 58vw);
  aspect-ratio: 1.8;
  border: 1px solid rgba(242, 239, 231, .1);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.sampler-orbit::after {
  position: absolute;
  top: 39%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-bright);
  box-shadow: 0 0 20px rgba(239, 109, 92, .72);
  content: "";
}

.sampler-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(470px, 1.02fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.sampler-intro h1 {
  max-width: 660px;
  margin-bottom: 25px;
  font-size: clamp(3.45rem, 6.8vw, 6.35rem);
}

.sampler-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--moon-soft);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

.sampler-promises {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.sampler-promises li {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(15, 18, 23, .7);
  color: var(--regolith);
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 650;
}

.sampler-promises li span { color: var(--data); }

.sampler-method {
  max-width: 590px;
  margin: 29px 0 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 17px;
  color: var(--dim);
  font-size: .78rem;
  line-height: 1.65;
}

.sampler-method strong { color: var(--regolith); }

.sampler-form {
  border: 1px solid rgba(242, 239, 231, .21);
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 39px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.013)),
    rgba(10, 13, 18, .93);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .44);
}

.sampler-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.sampler-form-head .eyebrow { margin-bottom: 8px; }

.sampler-form-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.sampler-form-head > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
}

.sampler-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 15px;
  margin-top: 24px;
}

.sampler-field--wide { grid-column: 1 / -1; }

.sampler-field label {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  gap: 8px;
  color: var(--moon);
  font-size: .83rem;
  font-weight: 720;
}

.sampler-field label span {
  color: var(--signal-bright);
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .06em;
}

.sampler-field select,
.sampler-field textarea {
  width: 100%;
  border: 1px solid rgba(242, 239, 231, .25);
  border-radius: 10px;
  background: #090c11;
  color: var(--moon);
  font-size: .9rem;
}

.sampler-field select {
  min-height: 48px;
  padding: 0 38px 0 13px;
}

.sampler-field textarea {
  display: block;
  min-height: 64px;
  resize: vertical;
  padding: 11px 13px;
  line-height: 1.45;
}

.sampler-field select:focus,
.sampler-field textarea:focus { border-color: var(--data); }

.sampler-field textarea::placeholder { color: #777b82; opacity: 1; }

.sampler-field small {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: .66rem;
  line-height: 1.45;
}

.sampler-error {
  margin: 17px 0 0;
  border-left: 2px solid var(--signal-bright);
  padding: 8px 11px;
  background: rgba(217, 75, 61, .08);
  color: #ffd5ce;
  font-size: .78rem;
}

.sampler-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 23px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--moon);
  border-radius: 9px;
  padding: 12px 17px;
  background: var(--moon);
  color: var(--void);
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.sampler-submit:hover { transform: translateY(-2px); background: #fff; }

.sampler-local-note {
  margin: 11px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .59rem;
  line-height: 1.5;
  text-align: center;
}

.sampler-results {
  padding: clamp(84px, 10vw, 148px) 0 0;
  background:
    radial-gradient(760px 430px at 92% 3%, rgba(103,207,200,.07), transparent 72%),
    var(--void);
}

.sampler-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .55fr);
  gap: 40px;
  align-items: end;
}

.sampler-results-head h2 { max-width: 800px; margin-bottom: 0; }

.sampler-results-head > p {
  margin: 0 0 7px;
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
  color: var(--regolith);
  font-size: .88rem;
  line-height: 1.65;
}

.sampler-constraint-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(38px, 5vw, 62px) 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 18, 23, .72);
}

.sampler-constraint-bar div {
  min-width: 0;
  padding: 14px 17px;
}

.sampler-constraint-bar div + div { border-left: 1px solid var(--line); }

.sampler-constraint-bar small {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sampler-constraint-bar strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--moon-soft);
  font-size: .78rem;
  font-weight: 650;
}

.sampler-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sampler-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(23px, 2.8vw, 34px);
  background:
    linear-gradient(160deg, rgba(255,255,255,.045), transparent 36%),
    var(--surface);
}

.sampler-card:nth-child(2) { background-color: #10151a; }
.sampler-card:nth-child(3) { background-color: #141319; }

.sampler-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--signal-bright);
  content: "";
}

.sampler-card:nth-child(2)::before { background: var(--data); }
.sampler-card:nth-child(3)::before { background: var(--lavender); }

.sampler-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sampler-card-topline span:first-child { color: var(--signal-bright); }
.sampler-card:nth-child(2) .sampler-card-topline span:first-child { color: var(--data); }
.sampler-card:nth-child(3) .sampler-card-topline span:first-child { color: var(--lavender); }

.sampler-card h3 {
  min-height: 2.18em;
  margin: 27px 0 13px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.sampler-card-premise {
  min-height: 4.9em;
  margin-bottom: 25px;
  color: var(--regolith);
  font-size: .84rem;
  line-height: 1.62;
}

.sampler-card dl { margin: 0; }

.sampler-card dl div {
  border-top: 1px solid var(--line);
  padding: 16px 0 17px;
}

.sampler-card dt {
  margin-bottom: 5px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sampler-card dd {
  margin: 0;
  color: var(--moon-soft);
  font-size: .8rem;
  line-height: 1.58;
}

.sampler-card-boundary {
  margin: 3px 0 0;
  border: 1px solid rgba(213, 183, 131, .24);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(213, 183, 131, .055);
  color: var(--regolith);
  font-size: .7rem;
  line-height: 1.55;
}

.sampler-card-boundary strong { color: var(--amber); }

.sampler-card-share-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  background: transparent;
  color: var(--moon-soft);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.sampler-card-share-link:hover { color: var(--data); }

.sampler-export {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 34px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  background: rgba(15, 18, 23, .72);
}

.sampler-export .eyebrow { margin-bottom: 5px; }

.sampler-export h3 { margin-bottom: 7px; }

.sampler-export > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--dim);
  font-size: .74rem;
}

.sampler-export-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }

.sampler-export-actions button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 13px;
  background: transparent;
  color: var(--moon-soft);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

.sampler-export-actions button:hover { border-color: var(--data); color: var(--data); }

.sampler-action-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: -5px 0 0;
  color: var(--data);
  font-family: var(--mono);
  font-size: .62rem;
  text-align: right;
}

.sampler-share-maker {
  margin-top: clamp(56px, 8vw, 96px);
  border: 1px solid rgba(242, 239, 231, .2);
  border-radius: 22px;
  padding: clamp(23px, 4vw, 46px);
  background:
    radial-gradient(680px 430px at 96% 0%, rgba(103, 207, 200, .08), transparent 68%),
    linear-gradient(150deg, rgba(255,255,255,.045), transparent 38%),
    #0b0e12;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
  scroll-margin-top: 28px;
}

.sampler-share-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .62fr);
  gap: 28px 64px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(26px, 4vw, 42px);
}

.sampler-share-head .eyebrow { margin-bottom: 8px; }

.sampler-share-head h3 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.sampler-share-head > p {
  margin: 0;
  color: var(--regolith);
  font-size: .82rem;
  line-height: 1.65;
}

.sampler-share-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .58fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
  margin-top: clamp(27px, 4vw, 46px);
}

.sampler-share-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 11px;
}

.sampler-share-choices button {
  display: grid;
  min-width: 0;
  min-height: 64px;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  background: rgba(7, 9, 13, .66);
  color: var(--regolith);
  text-align: left;
  cursor: pointer;
}

.sampler-share-choices button:hover,
.sampler-share-choices button.is-selected {
  border-color: var(--data);
  background: rgba(103, 207, 200, .07);
  color: var(--moon);
}

.sampler-share-choices button span {
  color: var(--data);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
}

.sampler-share-choices button strong {
  min-width: 0;
  overflow: hidden;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.sampler-share-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: clamp(10px, 2vw, 18px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent),
    #07090d;
}

.sampler-share-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(242, 239, 231, .12);
  border-radius: 8px;
  background: var(--void);
  object-fit: cover;
}

.sampler-share-preview figcaption {
  margin: 11px 3px 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .58rem;
  line-height: 1.5;
}

.sampler-share-controls {
  position: sticky;
  top: 28px;
  border-left: 1px solid var(--line);
  padding: 10px 0 10px clamp(22px, 4vw, 42px);
}

.sampler-share-kicker {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--data);
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sampler-share-kicker span { color: var(--dim); }

.sampler-share-controls h4 {
  margin: 0 0 15px;
  color: var(--moon);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.sampler-share-controls > p[data-share-premise] {
  margin: 0;
  color: var(--regolith);
  font-size: .86rem;
  line-height: 1.65;
}

.sampler-share-actions {
  display: grid;
  gap: 8px;
  margin-top: 29px;
}

.sampler-share-actions button {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 11px 14px;
  background: transparent;
  color: var(--moon);
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}

.sampler-share-actions .sampler-share-download {
  border-color: var(--moon);
  background: var(--moon);
  color: var(--void);
}

.sampler-share-actions button:hover { border-color: var(--data); }
.sampler-share-actions .sampler-share-download:hover { background: #fff; }
.sampler-share-actions button:disabled { cursor: progress; opacity: .62; }

.sampler-share-privacy {
  margin: 18px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .59rem;
  line-height: 1.55;
}

.sampler-share-privacy span { color: var(--data); }

.sampler-share-status {
  min-height: 2.8em;
  margin: 12px 0 0;
  color: var(--data);
  font-family: var(--mono);
  font-size: .61rem;
  line-height: 1.5;
}

.sampler-reality {
  max-width: 850px;
  margin: clamp(56px, 8vw, 92px) auto;
  border-left: 2px solid var(--signal-bright);
  padding: 5px 0 5px 26px;
}

.sampler-reality .eyebrow { margin-bottom: 8px; }
.sampler-reality h3 { margin-bottom: 13px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sampler-reality > p:last-child { margin: 0; color: var(--regolith); }

.sampler-handoff {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: clamp(57px, 8vw, 100px) clamp(24px, 7vw, 90px) 210px;
  background: rgba(10, 12, 16, .7);
  text-align: center;
}

.sampler-horizon {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/brand/lunar-horizon.webp") center bottom / min(1350px, 124%) auto no-repeat;
  opacity: .54;
}

.sampler-handoff::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,.98) 5%, rgba(7,9,13,.73) 60%, rgba(7,9,13,.16));
  content: "";
}

.sampler-handoff-copy { max-width: 790px; margin: 0 auto; }
.sampler-handoff h2 { margin-bottom: 23px; }
.sampler-handoff-copy > p:not(.eyebrow):not(.sampler-fresh-note) { max-width: 700px; margin: 0 auto 30px; color: var(--moon-soft); font-size: 1.06rem; }

.sampler-workshop-cta {
  min-height: 54px;
  border-color: var(--moon);
  background: var(--moon);
  color: var(--void);
}

.sampler-fresh-note {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--regolith);
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.55;
}

.sampler-fresh-note strong { color: var(--moon-soft); }

.sampler-noscript { border-top: 1px solid var(--line); padding: 90px 0; }
.sampler-noscript p { color: var(--regolith); }
.sampler-footer { position: relative; }

@media (max-width: 1000px) {
  .sampler-hero-grid { grid-template-columns: 1fr; }
  .sampler-intro { max-width: 760px; }
  .sampler-form { max-width: 760px; }
  .sampler-results-head { grid-template-columns: 1fr; }
  .sampler-results-head > p { max-width: 650px; }
  .sampler-card-grid { grid-template-columns: 1fr; }
  .sampler-card h3, .sampler-card-premise { min-height: 0; }
  .sampler-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .sampler-export { grid-template-columns: 1fr; }
  .sampler-export-actions { justify-content: flex-start; }
  .sampler-action-status { text-align: left; }
  .sampler-share-head, .sampler-share-grid { grid-template-columns: 1fr; }
  .sampler-share-head > p { max-width: 700px; }
  .sampler-share-preview-wrap { max-width: 650px; }
  .sampler-share-controls { position: static; border-top: 1px solid var(--line); border-left: 0; padding: 28px 0 0; }
  .sampler-share-actions { grid-template-columns: 1fr 1fr; }
  .sampler-share-actions button:last-child:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .sampler-status span:last-child { display: none; }
  .sampler-nav .nav-inner { min-height: 64px; }
  .sampler-nav-link { padding: 7px 9px; font-size: .68rem; }
  .sampler-nav-link span { display: none; }
  .sampler-hero { min-height: 0; padding-top: 54px; }
  .sampler-hero::after { right: -34vw; bottom: -20vw; width: 125vw; }
  .sampler-orbit { width: 90vw; }
  .sampler-intro h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .sampler-field-grid { grid-template-columns: 1fr; }
  .sampler-field--wide { grid-column: auto; }
  .sampler-constraint-bar { grid-template-columns: 1fr; }
  .sampler-constraint-bar div + div { border-top: 1px solid var(--line); border-left: 0; }
  .sampler-card dl { display: block; }
  .sampler-export { padding: 21px 18px; }
  .sampler-export-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .sampler-export-actions button:last-child:nth-child(3) { grid-column: 1 / -1; }
  .sampler-share-maker { padding: 21px 18px; }
  .sampler-share-head { grid-template-columns: 1fr; }
  .sampler-share-choices { grid-template-columns: 1fr; }
  .sampler-share-choices button { min-height: 52px; }
  .sampler-share-actions { grid-template-columns: 1fr; }
  .sampler-share-actions button:last-child:nth-child(3) { grid-column: auto; }
  .sampler-reality { padding-left: 19px; }
  .sampler-handoff { min-height: 570px; padding-bottom: 190px; }
  .sampler-workshop-cta { width: 100%; }
}

@media (max-width: 470px) {
  .sampler-nav-link { border: 0; padding-right: 0; }
  .sampler-nav-link { font-size: 0; }
  .sampler-nav-link::after { content: "Full workshop ↗"; font-size: .68rem; }
  .sampler-promises { display: grid; }
  .sampler-promises li { width: max-content; }
  .sampler-form { padding: 22px 17px; }
  .sampler-form-head > span { display: none; }
  .sampler-export-actions { grid-template-columns: 1fr; }
  .sampler-export-actions button:last-child:nth-child(3) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .sampler-submit { transition: none; }
}

@media (forced-colors: active) {
  .sampler-card, .sampler-form, .sampler-export, .sampler-share-maker, .sampler-handoff { box-shadow: none; }
  .sampler-card::before, .sampler-orbit::after { background: CanvasText; }
}
