/* Free logo maker (/free-logo-maker). Uses the tokens from seo.css. */
.lm-wrap {
  max-width: 1040px;
}

/* Hero: centred title, quick brand-name box, showcase of example logos. */
.lm-hero {
  text-align: center;
}

.lm-hero .lede {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.lm-hero .lm-trust {
  justify-content: center;
}

.lm-quick {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 22px auto 0;
}

.lm-quick input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 17px;
}

.lm-quick .btn {
  flex: none;
  border: 0;
  font-size: 16px;
  cursor: pointer;
}

.lm-fan {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 36px -20px 6px;
  padding: 10px 20px 20px;
  overflow: hidden;
}

.lm-ex {
  display: grid;
  flex: none;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 190px;
  height: 230px;
  margin: 0 -14px;
  padding: 18px 14px;
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0));
  transition: transform 0.25s;
}

.lm-ex:nth-child(1) { --r: -9deg; --y: 22px; }
.lm-ex:nth-child(2) { --r: -6deg; --y: 10px; z-index: 1; }
.lm-ex:nth-child(3) { --r: -3deg; --y: 2px; z-index: 2; }
.lm-ex:nth-child(4) { --r: 0deg; --y: -6px; z-index: 3; width: 220px; height: 260px; }
.lm-ex:nth-child(5) { --r: 3deg; --y: 2px; z-index: 2; }
.lm-ex:nth-child(6) { --r: 6deg; --y: 10px; z-index: 1; }
.lm-ex:nth-child(7) { --r: 9deg; --y: 22px; }

.lm-ex:hover {
  z-index: 5;
  transform: rotate(0deg) translateY(-10px) scale(1.04);
}

.lm-ex img,
.lm-show img {
  width: 104px;
  height: 104px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  object-fit: contain;
}

.lm-ex figcaption {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--ink);
  text-align: center;
}

.lm-ex figcaption b {
  font-size: 21px;
  line-height: 1.1;
}

.lm-ex figcaption span {
  font-size: 12px;
  opacity: 0.75;
}

.lm-fan-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.lm-tool-title {
  margin: 36px 0 -8px;
  text-align: center;
}

@media (max-width: 760px) {
  .lm-ex { width: 132px; height: 170px; margin: 0 -18px; }
  .lm-ex:nth-child(4) { width: 150px; height: 190px; }
  .lm-ex:nth-child(1), .lm-ex:nth-child(7) { display: none; }
  .lm-ex img { width: 72px; height: 72px; }
  .lm-ex figcaption b { font-size: 16px; }
}

@media (max-width: 480px) {
  .lm-quick { flex-direction: column; }
  .lm-ex:nth-child(2), .lm-ex:nth-child(6) { display: none; }
}

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

/* "Show off your logo everywhere" */
.lm-show {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin: 56px 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(600px 300px at 80% 20%, rgba(177, 92, 246, 0.16), transparent), var(--panel);
}

.lm-show h2 {
  margin-top: 0;
}

.lm-show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lm-show-grid > div {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 150px;
  border-radius: 16px;
  background: #eef0f4;
  color: var(--brand);
}

.ls-card {
  align-content: center;
  gap: 4px;
  background: #fff !important;
  box-shadow: inset 0 0 0 10px #eef0f4;
  text-align: center;
}

.ls-card b, .ls-shirt b, .ls-insta b {
  font-size: 18px;
}

.ls-card small, .ls-insta small {
  display: block;
  opacity: 0.7;
  font-size: 12px;
}

.lm-show-grid > .ls-phone {
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: linear-gradient(160deg, #3b4371, #a35c87);
}

.ls-phone i, .ls-app {
  aspect-ratio: 1;
  border-radius: 24%;
  background: rgba(255, 255, 255, 0.25);
}

.ls-app {
  display: grid;
  place-items: center;
  background: #fff;
}

.ls-app img {
  width: 80%;
  height: auto;
}

.ls-shirt svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
}

.ls-shirt div {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: -6%;
  font-size: 12px;
}

.ls-shirt b {
  font-size: 13px;
}

.ls-shirt img {
  width: 40px;
  height: 40px;
}

.lm-show-grid > .ls-insta {
  display: flex;
  gap: 10px;
  justify-content: center;
  background: #fff;
  color: #222;
}

.ls-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 58px;
  height: 58px;
  border: 2px solid #e1306c;
  border-radius: 50%;
  background: var(--bg);
}

.ls-card img {
  width: 64px;
  height: 64px;
}

.ls-avatar img {
  width: 44px;
  height: 44px;
}

@media (max-width: 760px) {
  .lm-show { grid-template-columns: 1fr; padding: 20px; }
}

/* Kit picker in the editor */
.lm-kit-intro {
  margin: 0 0 10px;
  color: var(--muted);
}

.lm-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.lm-pack {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
}

.lm-pack:has(input:checked) {
  border-color: var(--accent);
  background: rgba(91, 107, 255, 0.1);
}

.lm-pack input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.lm-pack b {
  display: block;
  font-size: 14px;
}

.lm-pack small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.lm-pack.is-fixed {
  cursor: default;
}

.lm-kit-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lm-kit-table td:first-child { white-space: normal; }
}

.lm-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.lm-trust span::before {
  content: "\2713  ";
  color: #7ee2a8;
  font-weight: 700;
}

.lm {
  display: grid;
  gap: 24px;
  margin: 28px 0 40px;
}

.lm-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.lm-card h2 {
  margin-top: 0;
}

.lm-card h2 small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.lm-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lm-field {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 14px;
}

.lm-field b {
  color: #ff8fa3;
}

.lm-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}

.lm-field input:focus-visible,
.lm-chip input:focus-visible + span,
.lm button:focus-visible,
.lm a:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.lm-group {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.lm-group legend {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.lm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lm-chip {
  position: relative;
}

.lm-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-chip span,
button.lm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.lm-chip input:checked + span,
button.lm-chip.is-active {
  border-color: var(--accent);
  background: rgba(91, 107, 255, 0.18);
}

.lm-pal i {
  width: 12px;
  height: 12px;
  margin-right: -4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.lm-pal i:last-of-type {
  margin-right: 2px;
}

.lm-custom-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 14px;
}

.lm-custom-colors[hidden] {
  display: none;
}

.lm-custom-colors input {
  width: 44px;
  height: 32px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  vertical-align: middle;
}

.lm-go {
  width: 100%;
  border: 0;
  font-size: 17px;
  cursor: pointer;
}

.lm-go:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lm-error {
  margin: 10px 0 0;
  color: #ff9aa9;
}

.lm-error:empty {
  display: none;
}

.lm-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.lm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.lm-head h2 {
  margin: 0;
}

.lm-progress {
  margin: 0;
  color: var(--accent-text);
}

.lm-concepts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.lm-concept {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.lm-concept:hover {
  transform: translateY(-2px);
}

.lm-concept.is-active {
  border-color: var(--accent);
}

.lm-concept canvas {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lm-skeleton {
  aspect-ratio: 2 / 1;
  background: linear-gradient(90deg, var(--panel) 25%, #20242f 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: lm-shimmer 1.4s infinite;
}

@keyframes lm-shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-skeleton {
    animation: none;
  }

  .lm-concept:hover {
    transform: none;
  }
}

.lm-tweaks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.lm-tweak,
.lm-layout {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lm-tweaks small {
  color: var(--muted);
}

.lm-layouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.lm-layout.is-active {
  border-color: var(--accent);
  background: rgba(91, 107, 255, 0.18);
}

.lm-stage {
  overflow: hidden;
  border-radius: 14px;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, #f2f2f2 25%, transparent 25%, transparent 75%, #f2f2f2 75%), linear-gradient(45deg, #f2f2f2 25%, transparent 25%, transparent 75%, #f2f2f2 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.lm-stage.is-dark {
  background: #14161d;
}

.lm-stage canvas {
  display: block;
  width: 100%;
  height: auto;
}

.lm-preview-toggle {
  display: flex;
  gap: 16px;
  margin: 10px 0 18px;
  font-size: 14px;
}

.lm-controls {
  display: grid;
  gap: 16px;
}

.lm-controls b {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.lm-swatch {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.lm-swatch.is-active {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.lm-range {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.lm-range input {
  flex: 1;
  max-width: 320px;
}

.lm-toggle {
  font-size: 14px;
}

.lm-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lm-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lm-check small {
  color: #888;
}

.lm-ok {
  color: #7ee2a8;
  font-weight: 600;
}

.lm-warn {
  color: #ffc46b;
  font-weight: 600;
}

/* Mockups */
.lm-mockups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.mk {
  margin: 0;
}

.mk figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.mk > div {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: #eceef2;
}

.mk-browser {
  grid-column: span 2;
}

.mk-browser > .mk-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 60%;
  aspect-ratio: auto;
  padding: 8px 12px;
  border-radius: 10px 10px 0 0;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.mk-tab img {
  width: 16px;
  height: 16px;
}

.mk-browser > .mk-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: auto;
  min-height: 110px;
  padding: 18px 20px;
  border-radius: 0 12px 12px 12px;
  background: #fff;
}

.mk-site img {
  height: 44px;
  max-width: 60%;
  object-fit: contain;
}

.mk-site nav {
  display: flex;
  gap: 10px;
}

.mk-site nav i {
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: #d9dce3;
}

.mk-card img {
  width: 62%;
  padding: 8% 6%;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: rotate(-4deg);
}

.mk > .mk-phone {
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  gap: 10px;
  padding: 16px 30px;
  background: linear-gradient(160deg, #3b4371, #a35c87);
}

.mk-phone span,
.mk-phone img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgba(255, 255, 255, 0.25);
}

.mk-phone img {
  background: #fff;
}

.mk > .mk-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #222;
  font-size: 14px;
}

.mk-insta small {
  display: block;
  color: #777;
}

.mk-avatar {
  flex: none;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border: 2px solid #e1306c;
  border-radius: 50%;
  background: #fff;
}

.mk-avatar img {
  width: 100%;
  height: 100%;
}

.mk > .mk-yt {
  display: block;
  background: #fff;
}

.mk-yt-banner {
  display: grid;
  place-items: center;
  height: 55%;
}

.mk-yt-banner img {
  max-width: 60%;
  max-height: 60%;
}

.mk-yt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #111;
  font-size: 14px;
}

.mk-yt-row .mk-avatar {
  width: 44px;
  height: 44px;
  border: 0;
}

.mk-sign {
  border: 10px solid #3a2f28;
}

.mk-sign img {
  max-width: 76%;
  max-height: 60%;
}

.mk-shirt svg {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
}

.mk-shirt img {
  position: relative;
  width: 28%;
  margin-top: -8%;
}

.mk-cup-body {
  display: grid;
  place-items: center;
  width: 42%;
  height: 74%;
  border-radius: 6px 6px 16px 16px;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.mk-cup-body img {
  width: 70%;
}

.lm-note {
  color: var(--muted);
  font-size: 13px;
}

.lm-after {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
}

.lm-after[hidden] {
  display: none;
}

/* Content below the tool */
.lm-kit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.lm-kit > div {
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lm-kit p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.lm-steps li {
  margin-bottom: 8px;
}

.lm-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.lm-uses a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  text-decoration: none;
}

.lm-faq {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.lm-faq summary {
  font-weight: 600;
  cursor: pointer;
}

.lm-faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .lm-card {
    padding: 16px;
  }

  .lm-row2,
  .lm-concepts {
    grid-template-columns: 1fr;
  }

  .mk-browser {
    grid-column: auto;
  }
}
