:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f665d;
  --line: #ded6cc;
  --paper: rgb(250, 244, 237);
  --panel: #ffffff;
  --accent: #2f6fed;
  --font-display: Cardo, Georgia, "Times New Roman", serif;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-gutter: clamp(20px, 4vw, 56px);
  --content-max: 1240px;
  --column-gap: clamp(24px, 4vw, 64px);
  --body-offset: clamp(18px, 3vh, 30px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

.page-shell {
  width: 100%;
  max-width: var(--content-max);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(20px, 2.4vh, 32px) var(--page-gutter)
    clamp(12px, 1.8vh, 22px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: clamp(10px, 1.6vh, 18px);
}

.site-header {
  display: flex;
  justify-content: center;
  transform: translateY(10px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  align-items: start;
  align-self: center;
  gap: var(--column-gap);
  margin-top: 0;
}

@media (max-width: 1300px) and (min-width: 841px) {
  .page-shell {
    --page-gutter: clamp(24px, 3vw, 38px);
    --content-max: 1240px;
    --column-gap: clamp(24px, 2.6vw, 36px);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 560px);
    align-items: start;
  }

  .intro {
    justify-self: end;
    width: min(100%, 610px);
    max-width: 610px;
    transform: translateX(16px);
  }

  .signup-panel {
    justify-self: end;
    max-width: 560px;
  }
}

@media (max-width: 1120px) and (min-width: 841px) {
  .page-shell {
    --page-gutter: clamp(18px, 2.4vw, 28px);
    --column-gap: clamp(16px, 2vw, 24px);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
  }

  .intro {
    transform: translateX(10px);
  }

  .brand-card {
    width: min(220px, 50vw);
  }

  .signup-panel {
    max-width: 520px;
    padding: 14px;
  }

  .shop-form {
    gap: 7px 10px;
  }

  input,
  select,
  textarea,
  .state-toggle {
    padding: 7px 8px;
  }
}

.intro {
  display: grid;
  align-content: start;
  justify-self: end;
  width: min(100%, 640px);
  padding-top: clamp(8px, 1.8vh, 18px);
}

.intro-copy {
  max-width: 640px;
  display: grid;
  gap: 13px;
}

.brand-card {
  width: min(230px, 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-wordmark {
  width: 100%;
  height: auto;
  display: block;
  min-width: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 560px;
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-sans);
  font-size: 25px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.intro h1 {
  font-family: var(--font-display);
  line-height: 0.98;
  font-weight: 400;
}

.lede {
  max-width: 460px;
  color: #332f2b;
  font-size: 16px;
  line-height: 1.42;
  font-weight: 500;
  margin-top: 2px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 500px;
  margin-top: 3px;
}

.proof-row span {
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  color: #332f2b;
  font-size: 12px;
  line-height: 1;
  font-weight: 650;
  text-transform: uppercase;
}

.hero-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 5px;
  padding: 2px 0;
  text-decoration: none;
}

.hero-cta:active {
  transform: translateY(1px);
}

.hero-cta span {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.screen-showcase {
  width: 100%;
  display: grid;
  align-self: center;
  justify-self: center;
  justify-items: center;
  transform: translateX(-60px);
}

.screen-carousel {
  width: min(100%, 360px);
  display: grid;
  gap: 9px;
  justify-items: center;
  justify-self: center;
  margin-top: 4px;
}

.screen-carousel-frame {
  position: relative;
  width: min(100%, 235px);
  aspect-ratio: 1242 / 2533;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 28px;
  background: #111111;
  box-shadow: 0 18px 42px rgba(77, 57, 36, 0.16);
}

.screen-showcase .screen-carousel {
  width: min(100%, 460px);
  margin-top: 0;
}

.screen-showcase .screen-carousel-frame {
  width: auto;
  max-width: 100%;
  height: min(720px, calc(100svh - 170px));
  aspect-ratio: 1242 / 2533;
  justify-self: center;
  border-radius: 36px;
  box-shadow: 0 28px 70px rgba(77, 57, 36, 0.2);
}

.screen-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 420ms ease;
}

.screen-slide.is-active {
  opacity: 1;
}

.screen-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.screen-dot {
  appearance: none;
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  max-width: 6px;
  max-height: 6px;
  flex: 0 0 6px;
  grid-column: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.24);
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: background-color 180ms ease, transform 180ms ease;
}

.screen-dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}

.screen-dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.signup-panel {
  width: 100%;
  max-width: 560px;
  justify-self: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2.2vh, 22px);
  box-shadow: 0 18px 52px rgba(77, 57, 36, 0.1);
}

.panel-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-content[hidden],
.success-panel[hidden] {
  display: none;
}

.shop-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

label {
  display: grid;
  gap: 5px;
}

label > span {
  color: #332f2b;
  font-size: 12px;
  font-weight: 650;
}

label > span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.field-hint {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.terms-acceptance {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 0 0 1px;
}

.terms-acceptance input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--ink);
}

.terms-acceptance label {
  display: block;
  color: #332f2b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.terms-acceptance a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 10px;
  outline: none;
}

.prefixed-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.prefixed-input > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-right: 1px;
}

.prefixed-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  outline: none;
}

.prefixed-input:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.prefixed-input input:focus {
  border-color: transparent;
  box-shadow: none;
}

.phone-input {
  width: 100%;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px;
}

.phone-input select,
.phone-input input {
  min-width: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.state-field {
  position: relative;
}

.state-value {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.state-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.state-toggle span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-toggle::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.state-field[data-open="true"] .state-toggle {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.state-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  max-height: min(230px, 36vh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(77, 57, 36, 0.16);
  padding: 6px;
}

.state-field[data-open="true"] .state-menu {
  display: grid;
}

.state-menu button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #332f2b;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  padding: 8px 9px;
  cursor: pointer;
}

.state-menu button:hover,
.state-menu button:focus {
  background: rgba(250, 244, 237, 0.9);
  outline: none;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

button {
  grid-column: 1 / -1;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  background: #d7d0c7;
  color: #6f665d;
  cursor: not-allowed;
}

button:active {
  transform: translateY(1px);
}

button:disabled:active {
  transform: none;
}

.success-panel {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.success-panel h2 {
  max-width: 430px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
}

.success-panel p:not(.eyebrow) {
  max-width: 360px;
  color: #332f2b;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

.secondary-action {
  width: fit-content;
  min-height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: transparent;
  color: var(--ink);
  padding: 0 16px;
}

.form-status {
  grid-column: 1 / -1;
  color: var(--ink);
  min-height: 0;
  margin-top: -4px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}

.form-status[data-tone="error"] {
  color: #a34040;
}

.form-status[data-tone="working"] {
  color: var(--ink);
}

.form-status[data-tone="notice"] {
  color: #332f2b;
}

.page-shell.apply-page-shell {
  --content-max: 820px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1.2vh, 14px);
  padding-top: clamp(10px, 1.6vh, 18px);
  padding-bottom: clamp(10px, 1.4vh, 16px);
}

.apply-page-shell .site-header {
  margin-bottom: 16px;
}

.apply-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: center;
  align-items: start;
  justify-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vh, 22px);
}

.apply-copy {
  display: grid;
  gap: 13px;
  justify-items: center;
  justify-self: center;
  max-width: 600px;
  padding-top: 0;
  text-align: center;
}

.apply-copy h1 {
  max-width: 560px;
  font-size: clamp(40px, 4.2vw, 58px);
}

.apply-copy .lede {
  max-width: 520px;
}

.apply-panel {
  max-width: 760px;
  justify-self: center;
}

.apply-page-shell .apply-panel {
  max-height: none;
  overflow: visible;
  padding: clamp(12px, 1.7vh, 18px);
}

.apply-page-shell .form-content {
  overflow: visible;
  padding-right: 0;
}

.apply-page-shell .panel-heading {
  gap: 4px;
  margin-bottom: 9px;
}

.apply-page-shell .shop-form {
  gap: 7px 11px;
}

.apply-page-shell label {
  gap: 4px;
}

.apply-page-shell label > span,
.apply-page-shell .field-hint,
.apply-page-shell .terms-acceptance label {
  font-size: 11px;
  line-height: 1.28;
}

.apply-page-shell input,
.apply-page-shell select,
.apply-page-shell textarea,
.apply-page-shell .state-toggle {
  border-radius: 7px;
  font-size: 13px;
  padding: 6px 8px;
}

.apply-page-shell .terms-acceptance input {
  padding: 0;
}

.apply-page-shell textarea {
  min-height: 46px;
}

.apply-page-shell .shop-form > button {
  min-height: 37px;
  border-radius: 7px;
  font-size: 14px;
}

.apply-page-shell .form-status {
  font-size: 12px;
  line-height: 1.32;
  margin-top: -3px;
}

@media (max-width: 1300px) and (min-width: 841px) {
  .intro-copy {
    max-width: 600px;
    gap: 12px;
  }

  .eyebrow {
    font-size: 13px;
  }

  h1 {
    max-width: 600px;
    font-size: clamp(44px, 4.8vw, 62px);
    line-height: 1.02;
  }

  .lede {
    max-width: 510px;
    font-size: 17px;
    line-height: 1.36;
  }

  .proof-row {
    max-width: 520px;
    gap: 9px;
  }

  .proof-row span {
    padding: 9px 13px;
    font-size: 12px;
  }

  .screen-carousel {
    width: min(100%, 360px);
  }

  .screen-carousel-frame {
    width: min(100%, 235px);
  }

  .screen-showcase .screen-carousel {
    width: min(100%, 420px);
  }

  .screen-showcase .screen-carousel-frame {
    height: min(700px, calc(100svh - 160px));
  }
}

@media (max-width: 1120px) and (min-width: 841px) {
  .intro-copy {
    max-width: 520px;
    gap: 11px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(38px, 4.6vw, 50px);
  }

  .lede {
    max-width: 460px;
    font-size: 16px;
    line-height: 1.36;
  }

  .proof-row {
    max-width: 500px;
  }

  .proof-row span {
    padding: 8px 11px;
    font-size: 11px;
  }

  .screen-carousel {
    width: min(100%, 320px);
  }

  .screen-carousel-frame {
    width: min(100%, 210px);
  }

  .screen-showcase .screen-carousel {
    width: min(100%, 390px);
  }

  .screen-showcase .screen-carousel-frame {
    height: min(680px, calc(100svh - 155px));
  }

  .apply-layout {
    max-width: 640px;
    gap: 14px;
  }
}

@media (max-height: 860px) and (min-width: 841px) {
  .page-shell {
    padding-top: 18px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .brand-card {
    width: min(220px, 50vw);
  }

  .brand-wordmark {
    width: 100%;
  }

  .content-grid {
    gap: clamp(18px, 3vw, 40px);
  }

  .intro {
    padding-top: 8px;
  }

  .intro-copy {
    gap: 11px;
  }

  h1 {
    font-size: clamp(42px, 4.6vw, 58px);
    line-height: 1.02;
    max-width: 580px;
  }

  h2 {
    font-size: 22px;
  }

  .lede {
    font-size: 17px;
    line-height: 1.34;
    margin-top: 0;
  }

  .proof-row {
    gap: 9px;
    margin-top: 2px;
  }

  .proof-row span {
    padding: 8px 12px;
    font-size: 12px;
  }

  .screen-carousel {
    gap: 7px;
  }

  .screen-carousel-frame {
    width: min(100%, 210px);
  }

  .screen-showcase .screen-carousel-frame {
    height: min(660px, calc(100svh - 160px));
  }

  .signup-panel {
    padding: 16px;
  }

  .panel-heading {
    gap: 4px;
    margin-bottom: 10px;
  }

  .shop-form {
    gap: 8px 12px;
  }

  label {
    gap: 4px;
  }

  input,
  select,
  textarea,
  .state-toggle {
    padding: 8px 9px;
  }

  textarea {
    min-height: 60px;
  }

  button {
    min-height: 41px;
  }
}

@media (max-height: 760px) and (min-width: 841px) {
  .page-shell {
    padding-top: 14px;
    padding-bottom: 12px;
    gap: 8px;
  }

  .brand-card {
    width: min(210px, 48vw);
  }

  .brand-wordmark {
    width: 100%;
  }

  .content-grid {
    gap: clamp(16px, 2.2vw, 30px);
  }

  .intro {
    padding-top: 4px;
  }

  .intro-copy {
    gap: 10px;
  }

  h1 {
    font-size: clamp(38px, 4.4vw, 52px);
    line-height: 1.02;
    max-width: 520px;
  }

  h2 {
    font-size: 21px;
  }

  .lede {
    font-size: 16px;
    line-height: 1.32;
  }

  .proof-row {
    gap: 7px;
    margin-top: 4px;
  }

  .proof-row span {
    padding: 7px 11px;
    font-size: 11px;
  }

  .screen-carousel {
    gap: 6px;
  }

  .screen-carousel-frame {
    width: min(100%, 180px);
  }

  .screen-showcase .screen-carousel-frame {
    height: min(570px, calc(100svh - 150px));
  }

  .signup-panel {
    padding: 14px;
  }

  .panel-heading {
    margin-bottom: 8px;
  }

  .shop-form {
    gap: 7px 10px;
  }

  input,
  select,
  textarea,
  .state-toggle {
    padding: 7px 8px;
  }

  textarea {
    min-height: 52px;
  }

  button {
    min-height: 38px;
  }
}

@media (max-height: 700px) and (min-width: 841px) {
  .page-shell {
    padding-top: 10px;
    padding-bottom: 8px;
    gap: 6px;
  }

  .brand-card {
    width: min(202px, 46vw);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
    gap: clamp(16px, 2vw, 24px);
  }

  .intro {
    padding-top: 0;
  }

  .intro-copy {
    gap: 9px;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(34px, 4.1vw, 46px);
    line-height: 1.02;
    max-width: 480px;
  }

  h2 {
    font-size: 19px;
  }

  .lede {
    font-size: 15px;
    line-height: 1.32;
  }

  .proof-row {
    display: flex;
    gap: 6px;
    margin-top: 0;
    max-width: 500px;
  }

  .proof-row span {
    padding: 5px 8px;
    font-size: 10px;
  }

  .screen-carousel {
    gap: 5px;
  }

  .screen-carousel-frame {
    width: min(100%, 150px);
    border-radius: 22px;
  }

  .screen-showcase .screen-carousel-frame {
    height: min(510px, calc(100svh - 140px));
    border-radius: 28px;
  }

  .screen-dot {
    width: 5px;
    height: 5px;
  }

  .signup-panel {
    max-width: 520px;
    padding: 12px;
  }

  .panel-heading {
    gap: 2px;
    margin-bottom: 6px;
  }

  .shop-form {
    gap: 5px 8px;
  }

  label {
    gap: 3px;
  }

  label > span,
  .field-hint {
    font-size: 11px;
    line-height: 1.24;
  }

  input,
  select,
  textarea,
  .state-toggle {
    border-radius: 6px;
    font-size: 13px;
    padding: 5px 7px;
  }

  textarea {
    min-height: 42px;
  }

  button {
    min-height: 34px;
    border-radius: 6px;
    font-size: 13px;
  }
}

@media (min-width: 841px) {
  .content-grid {
    min-height: 0;
  }

  .intro {
    align-self: center;
    padding-top: 0;
    transform: translateX(60px);
  }

  .signup-panel {
    align-self: start;
    display: flex;
    max-height: min(760px, calc(100svh - 150px));
    overflow: hidden;
    padding: clamp(18px, 2.2vh, 22px);
  }

  .form-content,
  .success-panel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }

  .form-content {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-gutter: stable;
  }

  .success-panel {
    overflow-y: auto;
  }

  .panel-heading {
    gap: 6px;
    margin-bottom: 14px;
  }

  .shop-form {
    gap: 10px 14px;
  }

  label {
    gap: 5px;
  }

  label > span,
  .field-hint {
    font-size: 12px;
    line-height: 1.4;
  }

  input,
  select,
  textarea,
  .state-toggle {
    border-radius: 8px;
    font-size: 14px;
    padding: 9px 10px;
  }

  textarea {
    min-height: 76px;
  }

  button {
    min-height: 46px;
    border-radius: 8px;
    font-size: 15px;
  }
}

@media (max-width: 840px) {
  .page-shell {
    align-content: start;
    grid-template-rows: auto auto auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
  }

  .intro {
    width: 100%;
    justify-self: stretch;
    padding-top: 0;
    transform: none;
    text-align: center;
  }

  .intro-copy {
    max-width: 640px;
    margin: 0 auto;
    justify-items: center;
  }

  .lede,
  .proof-row {
    max-width: 560px;
  }

  .proof-row {
    justify-content: center;
  }

  .screen-carousel {
    width: min(100%, 320px);
    justify-self: center;
  }

  .screen-carousel-frame {
    width: min(100%, 210px);
  }

  .screen-showcase {
    align-self: start;
    transform: none;
  }

  .screen-showcase .screen-carousel {
    width: min(100%, 320px);
  }

  .screen-showcase .screen-carousel-frame {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 1242 / 2533;
    border-radius: 30px;
  }

  .hero-cta {
    justify-self: center;
  }

  .apply-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .apply-copy {
    justify-self: center;
    justify-items: center;
    padding-top: 0;
    text-align: center;
  }

  .apply-copy h1,
  .apply-copy .lede {
    max-width: 560px;
  }

  .apply-panel {
    justify-self: center;
  }

  .signup-panel {
    justify-self: center;
  }

  .brand-card {
    width: min(236px, 72vw);
  }

  .brand-wordmark {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell {
    --page-gutter: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .content-grid {
    gap: 10px;
  }

  .brand-card {
    width: min(208px, 68vw);
  }

  .signup-panel {
    padding: 11px;
  }

  .shop-form {
    gap: 6px;
  }

  .phone-input {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 6px;
  }

  .intro-copy {
    gap: 8px;
  }

  h1 {
    font-size: clamp(27px, 8.8vw, 34px);
    line-height: 1;
  }

  .lede {
    font-size: 13px;
    line-height: 1.3;
  }

  .proof-row {
    gap: 6px;
    margin-top: 0;
  }

  .proof-row span {
    padding: 6px 8px;
    font-size: 10px;
  }

  .screen-carousel {
    width: min(100%, 250px);
    gap: 6px;
  }

  .screen-carousel-frame {
    width: min(100%, 180px);
    border-radius: 24px;
  }

  .screen-showcase .screen-carousel {
    width: min(100%, 260px);
  }

  .screen-showcase .screen-carousel-frame {
    width: min(100%, 180px);
    height: auto;
    aspect-ratio: 1242 / 2533;
    border-radius: 24px;
  }

  .hero-cta {
    font-size: 14px;
  }

  .apply-copy h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .panel-heading {
    margin-bottom: 8px;
  }

  input,
  select,
  textarea,
  .state-toggle {
    font-size: 13px;
    padding: 7px 8px;
  }

  textarea {
    min-height: 50px;
  }

  button {
    min-height: 39px;
    font-size: 14px;
  }
}

@media (min-width: 841px) {
  .page-shell.apply-page-shell {
    --content-max: 820px;
    min-height: 100svh;
    padding-top: clamp(10px, 1.8vh, 18px);
    padding-bottom: clamp(8px, 1.4vh, 16px);
    gap: clamp(8px, 1.4vh, 14px);
  }

  .apply-page-shell .apply-layout {
    align-self: center;
    gap: clamp(10px, 1.6vh, 16px);
  }

  .apply-page-shell .apply-panel {
    display: flex;
    width: min(100%, 760px);
    max-width: 760px;
    height: min(680px, calc(100svh - 145px));
    max-height: calc(100svh - 145px);
    justify-self: center;
    padding: clamp(14px, 2vh, 20px);
    overflow: hidden;
  }

  .apply-page-shell .form-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-gutter: stable;
  }

  .apply-page-shell .panel-heading {
    gap: 5px;
    margin-bottom: 12px;
  }

  .apply-page-shell .eyebrow {
    font-size: 12px;
  }

  .apply-page-shell h2 {
    font-size: 24px;
  }

  .apply-page-shell .shop-form {
    gap: 9px 13px;
  }

  .apply-page-shell label {
    gap: 5px;
  }

  .apply-page-shell label > span,
  .apply-page-shell .field-hint,
  .apply-page-shell .terms-acceptance label {
    font-size: 12px;
    line-height: 1.34;
  }

  .apply-page-shell .field-hint {
    margin: -2px 0 1px;
  }

  .apply-page-shell input,
  .apply-page-shell select,
  .apply-page-shell textarea,
  .apply-page-shell .state-toggle {
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 10px;
  }

  .apply-page-shell .terms-acceptance input {
    padding: 0;
  }

  .apply-page-shell .phone-input {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
  }

  .apply-page-shell textarea {
    min-height: 64px;
  }

  .apply-page-shell .shop-form > button {
    min-height: 42px;
    border-radius: 8px;
    font-size: 15px;
  }

  .apply-page-shell .form-status {
    font-size: 13px;
    line-height: 1.35;
    margin-top: -2px;
  }

  .apply-page-shell .public-footer {
    padding-top: 10px;
    font-size: 13px;
  }
}
