@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap");
:root {
  font:
    16px/1.6 "DM Sans",
    system-ui,
    sans-serif;
  color: #182641;
  background: #f3f5fa;
  --ink: #182641;
  --blue: #314db0;
  --muted: #59677b;
  --line: #d9dfeb;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: var(--blue);
}
button {
  border: 0;
  border-radius: 9px;
  padding: 12px 20px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
button:hover {
  filter: brightness(0.93);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 18px 0;
}
.request-item {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.request-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
}
button.quiet {
  background: transparent;
  color: var(--blue);
  padding-left: 0;
}
.facebook-connection {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  margin: 22px 0;
}
.facebook-connection p { margin: 8px 0 16px; }
.facebook-page-choice {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.facebook-page-choice strong { display: block; }
.facebook-page-choice button { margin-top: 7px; }
button:focus-visible,
a:focus-visible {
  outline: 3px solid #df668e;
  outline-offset: 4px;
}
.top {
  background: #101e38;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px max(24px, calc((100vw - 1220px) / 2));
  gap: 20px;
}
.brand {
  font:
    800 33px/1.1 Manrope,
    system-ui;
  color: white;
  text-decoration: none;
  letter-spacing: -1.5px;
}
.brand span {
  color: #ef9bb5;
}
.brand small {
  display: block;
  font:
    600 9px/2 "DM Sans",
    sans-serif;
  letter-spacing: 2px;
  margin-top: 7px;
}
.top button.quiet {
  color: #fff;
  padding-left: 16px;
}
#email-label {
  font-size: 13px;
}
main {
  max-width: 1220px;
  margin: auto;
  padding: 24px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  padding: 52px 0 70px;
  align-items: start;
}
.intro h1,
h1 {
  font:
    800 clamp(32px, 4.5vw, 58px)/1.12 Manrope,
    system-ui;
  letter-spacing: -2px;
  margin: 16px 0 24px;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 510px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #785577;
  margin: 0 0 12px;
}
h2 {
  font:
    800 29px/1.25 Manrope,
    system-ui;
  letter-spacing: -0.8px;
  margin: 0 0 20px;
}
h3 {
  font:
    800 20px/1.3 Manrope,
    system-ui;
  margin: 0 0 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 9px 30px #14213b05;
}
.auth-card {
  border-top: 5px solid #ef9bb5;
  margin-top: 18px;
}
.promo-summary {
  background: #f0f5ff;
  border: 1px solid #aac0f2;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 12px 0 22px;
}
.promo-summary strong {
  display: block;
  color: #243b83;
}
.promo-summary p {
  margin: 7px 0;
}
.checkout-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin: 16px 0;
}
.checkout-summary dt {
  color: var(--muted);
}
.checkout-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  max-width: 36ch;
  overflow-wrap: anywhere;
}
.receipt-page {
  max-width: 760px;
  padding-top: 50px;
}
.receipt-link {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.journey {
  padding-left: 26px;
  margin: 35px 0;
}
.journey li {
  padding: 0 0 22px 12px;
}
.journey li::marker {
  font-weight: 700;
  color: #9a5878;
}
.journey strong,
.journey span {
  display: block;
}
.journey span {
  color: var(--muted);
  font-size: 14px;
}
.muted,
small {
  color: var(--muted);
  font-size: 13px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 19px;
}
input:not([type="checkbox"]):not([type="color"]),
select,
textarea {
  display: block;
  width: 100%;
  background: #fbfcfe;
  border: 1px solid #bbc6d8;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  margin-top: 7px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #879bdf;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
}
label small {
  display: block;
  font-weight: 400;
  margin-top: 7px;
}
.auth-card form > button[type="submit"] {
  width: 100%;
  margin-top: 5px;
}
#auth-help {
  font-size: 13px;
  color: var(--muted);
}
#notice {
  border-radius: 9px;
  margin: 0;
  white-space: pre-wrap;
}
#notice:not(:empty) {
  padding: 14px 18px;
  background: #e6edff;
  border: 1px solid #b9c9f1;
  margin: 10px 0;
}
#notice.error {
  background: #fff0ed;
  border-color: #ebafa5;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
}
.dashboard-heading h1 {
  font-size: 38px;
  margin: 0;
}
.account-layout {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 36px;
}
aside nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 28px;
}
aside nav button {
  text-align: left;
  background: transparent;
  color: var(--muted);
  padding: 12px 14px;
  font-size: 14px;
}
aside nav button[aria-current="page"] {
  background: #e3e8f6;
  color: var(--blue);
}
aside > .muted {
  padding: 20px 14px;
  line-height: 1.8;
}
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.two-up .card {
  height: 100%;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.steps span {
  padding: 8px 12px;
  background: #f1f4fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}
.label-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.label-row label {
  margin: 0;
}
.label-row button {
  font-size: 13px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 25px 0;
}
legend {
  font-weight: 700;
}
fieldset p {
  font-size: 14px;
  color: var(--muted);
}
.color-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
#swatches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
#swatches button {
  width: 75px;
  height: 62px;
  padding: 0;
  font-size: 10px;
  border: 2px solid #c4cadd;
  box-shadow: inset 0 -23px white;
  color: #182641;
  display: flex;
  justify-content: center;
  align-items: end;
}
input[type="color"] {
  width: 50px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
}
.check {
  display: flex;
  gap: 12px;
  font-weight: 400;
  margin-top: 24px;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}
.logo-preview {
  max-width: 220px;
  max-height: 130px;
  object-fit: contain;
  background: #edf0f6;
  border: 1px solid var(--line);
  padding: 12px;
}
.proof-heading {
  margin-bottom: 28px;
}
.post {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 25px;
  overflow: hidden;
}
.post header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.post .avatar {
  background: #e1e7f6;
  color: var(--blue);
  font-weight: 800;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  text-align: center;
  padding: 9px;
}
.post header small {
  display: block;
}
.post p {
  padding: 0 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post > img {
  display: block;
  width: 100%;
  height: auto;
}
.post form,
.post .decision {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.post form button {
  margin: 5px 12px 0 0;
}
.post form textarea {
  min-height: 85px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 560px;
  padding: 32px;
  color: var(--ink);
}
dialog::backdrop {
  background: #101e38b3;
}
dialog > button {
  float: right;
}
footer {
  max-width: 1220px;
  margin: 30px auto 0;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
footer a {
  float: right;
}
@media (max-width: 800px) {
  .checkout-summary {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .checkout-summary dd {
    text-align: left;
    max-width: none;
    margin-bottom: 10px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 0;
  }
  .intro h1 {
    font-size: 43px;
  }
  .journey {
    margin-bottom: 0;
  }
  .account-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  aside nav {
    flex-direction: row;
    overflow-x: auto;
    margin: 0 0 15px;
  }
  aside nav button {
    white-space: nowrap;
  }
  aside > .muted {
    display: none;
  }
  .dashboard-heading {
    align-items: start;
  }
  .dashboard-heading h1 {
    font-size: 30px;
  }
  .two-up {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card {
    padding: 24px;
  }
  .top {
    padding: 20px 24px;
  }
  .top #email-label {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: filter 0.15s ease;
  }
}

.account-layout > *,
.two-up > *,
.auth-layout > * {
  min-width: 0;
}
fieldset {
  min-width: 0;
}
.brand {
  flex-shrink: 0;
}
.top > div {
  min-width: 0;
}
