@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;600;700&display=swap');

/* Warm, human utility landing. Keep it simple, readable and slightly playful. */

.landing {
  --paper: #fffdf9;
  --ink: #242126;
  --muted: #6f696f;
  --coral: #f04b45;
  --rose: #ffe9e5;
  --blue: #edf1ff;
  --violet: #f0ebff;
  --mint: #ecf7f1;
  --sand: #fff6df;
  --weight-regular: 400;
  --weight-medium: 600;
  --weight-bold: 700;
  padding-top: 18px;
  font-family: "Commissioner", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: var(--weight-regular);
  color: var(--ink);
}

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

.landing h1,
.landing h2,
.landing h3 {
  font-family: "Commissioner", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
}

.landing .hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 30px;
  padding: 30px 0 46px;
}

.landing .hero-copy {
  width: min(100%, 860px);
  text-align: center;
}

.landing .title-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.landing .title-lockup img {
  width: 92px;
  height: 92px;
}

.landing h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
}

.landing .lead {
  max-width: 800px;
  margin: 20px auto 0;
  color: #4d484f;
  font-size: 23px;
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.landing .trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 23px;
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.landing .trust-row span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.landing .trust-flag {
  opacity: 1;
}

.landing .trust-text {
  color: rgb(36 33 38 / 50%);
}

.landing .upload-panel {
  position: relative;
  width: 100%;
  max-width: none;
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 15px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--violet);
}

.landing .dropzone {
  min-height: 330px;
  border: 2px dashed #cfc8c4;
  border-radius: 14px;
  background: #fffefd;
  transition: border-color 160ms ease, transform 160ms ease;
}

.landing .dropzone:hover {
  border-color: var(--coral);
  transform: translateY(-1px);
}

.landing .dropzone img {
  display: none;
}

.landing .dropzone::before {
  content: "";
  width: 126px;
  height: 126px;
  background: url('/assets/pdf-file-bw-v2.svg') center / contain no-repeat;
}

.landing .dropzone-title {
  font-family: "Commissioner", system-ui, sans-serif;
  font-size: 30px;
  font-weight: var(--weight-bold);
}

.landing .upload-footer {
  display: flex;
  justify-content: center;
}

.landing .upload-footer button {
  width: 50%;
  border-radius: 999px;
  font-size: 23px;
  font-weight: var(--weight-bold);
}

.landing .upload-toast {
  position: absolute;
  left: 50%;
  bottom: 74px;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: var(--weight-medium);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.landing .upload-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.landing .stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0 64px;
}

.landing .stickers article {
  flex: 1 1 190px;
  max-width: 230px;
  min-height: 150px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(36, 33, 38, 0.09);
  border-radius: 4px;
  padding: 20px 18px;
  background: var(--sand);
  box-shadow: 3px 5px 0 rgba(36, 33, 38, 0.06);
}

.landing .stickers article:nth-child(2) {
  background: var(--blue);
  transform: rotate(1.2deg) translateY(7px);
}

.landing .stickers article:nth-child(3) {
  background: var(--rose);
  transform: rotate(-1deg) translateY(-4px);
}

.landing .stickers article:nth-child(4) {
  background: var(--mint);
  transform: rotate(0.8deg) translateY(5px);
}

.landing .stickers article:nth-child(5) {
  background: var(--violet);
  transform: rotate(-1.3deg) translateY(-2px);
}

.landing .stickers p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: var(--weight-medium);
  line-height: 1.42;
}

.landing .stickers mark {
  padding: 0 2px;
  color: inherit;
  background: linear-gradient(transparent 52%, rgba(224, 178, 35, 0.32) 52%);
  font: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.landing .stickers article:nth-child(2) mark {
  background: linear-gradient(transparent 52%, rgba(111, 131, 232, 0.25) 52%);
}

.landing .stickers article:nth-child(3) mark {
  background: linear-gradient(transparent 52%, rgba(240, 75, 69, 0.20) 52%);
}

.landing .stickers article:nth-child(4) mark {
  background: linear-gradient(transparent 52%, rgba(95, 159, 128, 0.25) 52%);
}

.landing .stickers article:nth-child(5) mark {
  background: linear-gradient(transparent 52%, rgba(139, 107, 201, 0.24) 52%);
}

.landing .explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: 54px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 64px;
}

.landing .story-card,
.landing .story-card:nth-child(n) {
  display: block;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.landing .story-card + .story-card {
  margin-top: 56px;
}

.landing .story-card h2 {
  margin: 0 0 28px;
  font-size: 36px;
  line-height: 1.12;
}

.landing .story-card h2::after {
  content: none;
}

.landing .story-card p {
  max-width: none;
  margin: 0;
  color: #575159;
  font-size: 18px;
  font-weight: var(--weight-regular);
  line-height: 1.62;
}

.landing .story-card p + p {
  margin-top: 18px;
}

.landing .story-highlight {
  padding: 0 2px;
  color: var(--ink);
  font-weight: var(--weight-medium);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.landing .story-highlight-coral {
  background: linear-gradient(transparent 54%, rgba(240, 75, 69, 0.20) 54%);
}

.landing .story-highlight-violet {
  background: linear-gradient(transparent 54%, rgba(139, 107, 201, 0.24) 54%);
}

.landing .explain-grid > .message-stack {
  max-width: none;
  margin-top: 64px;
}

.landing .explain-grid > .message-stack .message-card {
  max-width: 100%;
}

.landing .channel-strip {
  margin: 0;
  border: 0;
  border-radius: 28px;
  padding: 42px 46px 46px;
  background: var(--violet);
  box-shadow: none;
}

.landing .channel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.landing .channel-heading h2 {
  max-width: 520px;
  margin: 0;
  font-size: 34px;
  line-height: 1.13;
}

.landing .channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: flex-end;
}

.landing .channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 14px;
  font-weight: var(--weight-medium);
}

.landing .channel-pill img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.landing .message-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  max-width: 660px;
  margin-top: 34px;
}

.landing .message-card,
.landing .message-card:nth-child(n) {
  display: block;
  width: fit-content;
  max-width: min(100%, 590px);
  margin: 0;
  border: 1px solid rgba(36, 33, 38, 0.08);
  border-radius: 19px 19px 19px 6px;
  padding: 13px 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(36, 33, 38, 0.05);
}

.landing .message-card p {
  margin: 0;
  font-size: 16px;
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.landing .message-card strong {
  color: var(--coral);
  font-weight: var(--weight-medium);
}

.landing .extra-links {
  width: min(100%, 900px);
  margin: 0 auto;
  border: 0;
  padding: 66px 0 58px;
  background: transparent;
}

.landing .extra-links + .extra-links {
  padding-top: 0;
}

.landing .replay-feature h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 7px;
  margin-top: 12px;
  border-radius: 99px;
  background: var(--mint);
  transform: rotate(1deg);
}

.landing .more-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 18px;
  font-weight: var(--weight-medium);
  font-style: italic;
}

.landing .extra-links h2 {
  max-width: 720px;
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

.landing .extra-links p:not(.more-kicker) {
  max-width: 760px;
  margin: 15px 0 0;
  color: #575159;
  font-size: 18px;
  font-weight: var(--weight-regular);
  line-height: 1.6;
}

.landing .site-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  margin: 0 -28px;
  border: 0;
  border-radius: 28px 28px 0 0;
  padding: 30px 34px 32px;
  background: var(--rose);
  color: #5c565d;
  font-size: 13px;
  font-weight: var(--weight-regular);
  line-height: 1.5;
}

.landing .site-footer::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -42px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(240, 75, 69, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.landing .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing .footer-brand img {
  width: 48px;
  height: 48px;
}

.landing .footer-brand div,
.landing .footer-legal {
  display: grid;
  gap: 2px;
}

.landing .footer-brand strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: var(--weight-medium);
}

.landing .footer-legal {
  position: relative;
  z-index: 1;
  text-align: right;
}

.landing .footer-legal strong {
  color: #403b41;
  font-size: 13px;
  font-weight: var(--weight-medium);
}

@media (max-width: 900px) {
  .landing .explain-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .landing .explain-grid > .message-stack {
    max-width: 660px;
    margin-top: 0;
  }

  .landing .channel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing .channel-list {
    justify-content: flex-start;
  }

  .landing .stickers article {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .landing {
    padding-top: 10px;
  }

  .landing .hero {
    gap: 22px;
    padding-top: 18px;
  }

  .landing .title-lockup {
    flex-direction: column;
    gap: 6px;
  }

  .landing .title-lockup img {
    width: 82px;
    height: 82px;
  }

  .landing h1 {
    font-size: 42px;
  }

  .landing .lead {
    margin-top: 14px;
    font-size: 19px;
  }

  .landing .trust-row {
    font-size: 19px;
  }

  .landing .upload-panel {
    padding: 11px;
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--violet);
  }

  .landing .dropzone {
    min-height: 290px;
    padding: 22px;
  }

  .landing .dropzone::before {
    width: 104px;
    height: 104px;
  }

  .landing .upload-footer button {
    width: 100%;
    font-size: 19px;
  }

  .landing .stickers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0 48px;
  }

  .landing .stickers article,
  .landing .stickers article:nth-child(n) {
    max-width: none;
    min-height: 0;
    transform: none;
    padding: 18px;
  }

  .landing .explain-grid {
    padding-bottom: 48px;
  }

  .landing .story-card + .story-card {
    margin-top: 42px;
  }

  .landing .story-card h2,
  .landing .channel-heading h2,
  .landing .extra-links h2 {
    font-size: 28px;
  }

  .landing .story-card p,
  .landing .extra-links p:not(.more-kicker) {
    font-size: 16px;
  }

  .landing .channel-strip {
    margin-inline: -8px;
    border-radius: 22px;
    padding: 30px 20px 32px;
  }

  .landing .channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 14px;
  }

  .landing .message-stack {
    margin-top: 26px;
  }

  .landing .explain-grid > .message-stack {
    margin-top: 0;
  }

  .landing .message-card {
    max-width: 100%;
  }

  .landing .extra-links {
    padding: 52px 0 46px;
  }

  .landing .site-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-inline: -16px;
    border-radius: 22px 22px 0 0;
    padding: 26px 22px 28px;
  }

  .landing .footer-legal {
    text-align: left;
  }
}
