:root {
  --sq-navy: #0a3259;
  --sq-ink: #0a1d35;
  --sq-cobalt: #1e90ff;
  --sq-coral: #ff6247;
  --sq-pink: #ed2061;
  --sq-yellow: #f9d11f;
  --sq-cream: #fff7ea;
  --sq-cream-deep: #ffe8c8;
  --sq-apple: #a4ce39;
  --sq-leaf: #2cb34f;
  --sq-line: #0a1d35;
  --sq-muted: #496078;
  --sq-white: #ffffff;
  --sq-radius: 24px;
  --sq-radius-sm: 14px;
  --sq-shadow: 8px 8px 0 var(--sq-line);
  --sq-shadow-sm: 4px 4px 0 var(--sq-line);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--sq-cream);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--sq-ink);
  background:
    radial-gradient(circle at 8% 7%, rgba(249, 209, 31, .28), transparent 270px),
    radial-gradient(circle at 93% 12%, rgba(30, 144, 255, .15), transparent 320px),
    linear-gradient(180deg, #fffaf1 0%, var(--sq-cream) 55%, #ffeedd 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 18px;
  height: 18px;
  border: 2px solid var(--sq-line);
  background: var(--sq-coral);
  content: "";
  transform: rotate(45deg);
}

body::before {
  left: 5vw;
  top: 26vh;
}

body::after {
  right: 7vw;
  bottom: 18vh;
  background: var(--sq-yellow);
}

a {
  color: var(--sq-navy);
  font-weight: 750;
  text-decoration-color: var(--sq-coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sq-cobalt);
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--sq-ink);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  border: 2px solid var(--sq-line);
  border-radius: 0 0 10px 10px;
  color: var(--sq-ink);
  background: var(--sq-yellow);
}

.skip-link:focus {
  top: 0;
}

.dispatch-page {
  width: min(980px, calc(100% - 34px));
  margin: 28px auto 0;
}

.dispatch-header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px 10px 12px;
  border: 2px solid var(--sq-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--sq-shadow-sm);
}

.dispatch-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--sq-navy);
  text-decoration: none;
}

.dispatch-brand img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.dispatch-wordmark {
  display: grid;
  line-height: .9;
  text-transform: uppercase;
}

.dispatch-wordmark small {
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .18em;
}

.dispatch-wordmark strong {
  color: var(--sq-cobalt);
  font-size: 1.35rem;
  font-weight: 1000;
  letter-spacing: .08em;
  text-shadow: 1px 1px 0 var(--sq-line);
}

.studio-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 2px solid var(--sq-line);
  border-radius: 999px;
  color: var(--sq-ink);
  background: var(--sq-cream);
  box-shadow: 2px 2px 0 var(--sq-line);
  font-size: .85rem;
  text-decoration: none;
}

.dispatch-content {
  padding: 42px 0 0;
}

.dispatch-hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  border: 2px solid var(--sq-line);
  border-radius: 32px;
  background: var(--sq-white);
  box-shadow: var(--sq-shadow);
  overflow: hidden;
}

.dispatch-hero-copy {
  padding: clamp(30px, 6vw, 62px);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--sq-navy);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dispatch-hero h1 span {
  color: var(--sq-cobalt);
  -webkit-text-stroke: 1px var(--sq-line);
  text-shadow: 3px 3px 0 var(--sq-yellow);
}

.dispatch-lede {
  max-width: 690px;
  color: var(--sq-muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.dispatch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.button {
  display: inline-flex;
  min-width: 160px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--sq-line);
  border-radius: var(--sq-radius-sm);
  color: var(--sq-ink);
  background: var(--sq-white);
  box-shadow: var(--sq-shadow-sm);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button-primary,
.button:not(.button-outline) {
  background: var(--sq-yellow);
}

.button-outline {
  background: var(--sq-white);
}

.button:hover {
  color: var(--sq-ink);
  background: var(--sq-apple);
  box-shadow: 2px 2px 0 var(--sq-line);
  transform: translate(2px, 2px);
}

.dispatch-note,
.form-privacy {
  color: var(--sq-muted);
  font-size: .86rem;
  line-height: 1.5;
}

.dispatch-note span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-right: 5px;
  border: 2px solid var(--sq-line);
  border-radius: 50%;
  color: var(--sq-ink);
  background: var(--sq-apple);
  font-weight: 950;
}

.dispatch-hero-art {
  position: relative;
  min-height: 520px;
  border-left: 2px solid var(--sq-line);
  background:
    radial-gradient(circle at 65% 17%, rgba(249, 209, 31, .65), transparent 22%),
    linear-gradient(180deg, #dff0ff 0%, #f9fbff 57%, var(--sq-cream-deep) 100%);
  overflow: hidden;
}

.dispatch-hero-art::before,
.dispatch-hero-art::after {
  position: absolute;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 2px solid var(--sq-line);
  background: var(--sq-pink);
  content: "";
  transform: rotate(45deg);
}

.dispatch-hero-art::before {
  left: 18%;
  top: 28%;
}

.dispatch-hero-art::after {
  right: 14%;
  top: 43%;
  background: var(--sq-yellow);
}

.dispatch-hero-art img {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -8px;
  width: 145%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.dispatch-signal {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 58px;
  width: min(260px, calc(100% - 40px));
  padding: 14px 18px;
  border: 2px solid var(--sq-line);
  border-radius: 18px;
  background: var(--sq-white);
  box-shadow: var(--sq-shadow-sm);
  font-size: .92rem;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%) rotate(1.5deg);
}

.dispatch-preview {
  margin-top: 52px;
}

.dispatch-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dispatch-preview-grid article {
  padding: 24px;
  border: 2px solid var(--sq-line);
  border-radius: 20px;
  background: var(--sq-white);
  box-shadow: var(--sq-shadow-sm);
}

.dispatch-preview-grid article:nth-child(1) {
  background: #e8f4ff;
}

.dispatch-preview-grid article:nth-child(2) {
  background: #fff0e6;
}

.dispatch-preview-grid article:nth-child(3) {
  background: #f4f9df;
}

.dispatch-preview-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--sq-line);
  border-radius: 50%;
  background: var(--sq-yellow);
  font-size: .8rem;
  font-weight: 950;
}

.dispatch-preview-grid p {
  margin-bottom: 0;
  color: var(--sq-muted);
  font-size: .94rem;
}

.dispatch-panel {
  width: min(740px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 52px);
  border: 2px solid var(--sq-line);
  border-radius: 28px;
  background: var(--sq-white);
  box-shadow: var(--sq-shadow);
}

.dispatch-panel h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.dispatch-form {
  margin-top: 30px;
}

.field {
  margin-bottom: 22px;
}

label,
legend {
  color: var(--sq-ink);
  font-weight: 900;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.optional {
  color: var(--sq-muted);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: 2px solid var(--sq-line);
  border-radius: 12px;
  color: var(--sq-ink);
  background: var(--sq-white);
  box-shadow: 3px 3px 0 var(--sq-cream-deep);
  font-size: 1rem;
}

input:focus,
select:focus {
  border-color: var(--sq-cobalt);
  outline: 3px solid rgba(30, 144, 255, .25);
  outline-offset: 1px;
}

input:focus::placeholder {
  color: transparent;
}

input[disabled] {
  opacity: .55;
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: var(--sq-cobalt);
}

.nonce {
  display: none;
}

.dispatch-list-choice {
  margin: 26px 0;
  padding: 0;
  border: 0;
}

.dispatch-list-choice legend {
  margin-bottom: 9px;
}

.lists,
.confirmation-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lists li,
.confirmation-list li,
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 2px solid var(--sq-line);
  border-radius: 14px;
  background: var(--sq-cream);
}

.lists label {
  display: grid;
  gap: 2px;
  cursor: pointer;
}

.lists label span,
.lists .description {
  margin: 0;
  color: var(--sq-muted);
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.4;
}

.captcha {
  margin: 28px 0;
}

.form-privacy {
  max-width: 610px;
  margin: 18px 0 0;
}

.dispatch-step-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--sq-line);
  border-radius: 20px;
  background: var(--sq-apple);
  box-shadow: var(--sq-shadow-sm);
  font-size: 1.65rem;
  font-weight: 1000;
  transform: rotate(-3deg);
}

.confirmation-list {
  margin: 22px 0;
}

.confirmation-list li {
  display: block;
  background: #e8f4ff;
  font-weight: 950;
}

.dispatch-message-copy {
  margin-bottom: 28px;
  color: var(--sq-muted);
  font-size: 1.05rem;
}

.dispatch-manage + .data-form {
  margin-top: 30px;
}

.row {
  margin-bottom: 18px;
}

.error {
  display: block;
  padding: 10px 12px;
  border: 2px solid #8d1535;
  border-radius: 10px;
  color: #7b0c2d;
  background: #ffe7ef;
  font-weight: 800;
}

.center {
  text-align: center;
}

.small {
  font-size: .86rem;
}

.login .submit,
.login .submit .button {
  width: 100%;
}

.login button img {
  width: 24px;
  margin-right: 8px;
}

.dispatch-footer {
  width: min(900px, calc(100% - 34px));
  margin: 54px auto 36px;
  color: var(--sq-muted);
  font-size: .82rem;
  text-align: center;
}

.dispatch-footer p {
  margin-bottom: 8px;
}

.dispatch-footer strong {
  color: var(--sq-ink);
}

.dispatch-privacy,
.dispatch-operator {
  font-size: .76rem;
}

.dispatch-operator {
  opacity: .82;
}

:focus-visible {
  outline: 3px solid var(--sq-cobalt);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .dispatch-hero {
    grid-template-columns: 1fr;
  }

  .dispatch-hero-art {
    min-height: 330px;
    border-top: 2px solid var(--sq-line);
    border-left: 0;
  }

  .dispatch-hero-art img {
    width: 115%;
  }

  .dispatch-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body::before,
  body::after {
    display: none;
  }

  .dispatch-page {
    width: min(100% - 20px, 980px);
    margin-top: 10px;
  }

  .dispatch-header {
    min-height: 72px;
    padding: 8px 10px 8px 7px;
    border-radius: 16px;
  }

  .dispatch-brand {
    gap: 3px;
  }

  .dispatch-brand img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .dispatch-wordmark small {
    font-size: .48rem;
    letter-spacing: .1em;
  }

  .dispatch-wordmark strong {
    font-size: 1rem;
  }

  .studio-link {
    min-height: 42px;
    padding: 8px 10px;
    font-size: .72rem;
  }

  .dispatch-content {
    padding-top: 26px;
  }

  .dispatch-hero,
  .dispatch-panel {
    border-radius: 22px;
    box-shadow: 5px 5px 0 var(--sq-line);
  }

  .dispatch-hero-copy,
  .dispatch-panel {
    padding: 25px 21px;
  }

  h1 {
    font-size: clamp(2.05rem, 13vw, 3.2rem);
  }

  .dispatch-panel h1 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .dispatch-actions,
  .dispatch-actions .button,
  .dispatch-form > div > .button,
  .optin-form .button {
    width: 100%;
  }

  .dispatch-hero-art {
    min-height: 285px;
  }

  .dispatch-signal {
    top: 32px;
  }

  .dispatch-preview {
    margin-top: 40px;
  }

  .dispatch-footer {
    width: calc(100% - 30px);
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
