/* mlue.com — the first pages of the MLUE business plan, A4-landscape slides in two columns */

:root {
  --ink: #0e0f12;
  --text: #414854;
  --muted: #6b7280;
  --blue: #002fa7;
  --link: #1f5fbf;
  --canvas: #ecedf0;
  --edge: #d6dae0;
  --sans: "SF Pro Display", "Helvetica Neue", Inter, "PingFang SC", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
figure {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

/* ---------- Notice ---------- */

.notice {
  padding: 12px 16px;
  color: #d5d8de;
  background: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.notice b {
  color: #fff;
  font-weight: 600;
}

/* ---------- Deck ---------- */

.deck {
  display: grid;
  grid-template-columns: minmax(0, 1000px);
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(12px, 2.4vw, 32px) clamp(12px, 3vw, 40px) clamp(24px, 3vw, 40px);
}

@media (min-width: 1200px) {
  .deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1680px;
    margin: 0 auto;
  }
}

.slide {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 297 / 210;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 10px 32px rgb(16 24 40 / 0.07);
}

.frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  row-gap: 1.6cqw;
  padding: 3.4cqw 5.4cqw 2.8cqw;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: max(9px, 0.95cqw);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top b {
  margin-right: 1cqw;
  color: var(--blue);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  color: var(--ink);
  font-size: max(10px, 1.05cqw);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand svg {
  width: max(16px, 2cqw);
}

.title {
  font-size: 3.1cqw;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.015em;
}

.sub {
  margin-top: 0.8cqw;
  color: var(--muted);
  font-size: max(12px, 1.5cqw);
  line-height: 1.5;
}

.sub a {
  color: var(--ink);
  font-weight: 600;
}

.body {
  min-height: 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  color: #9097a3;
  font-size: max(9px, 0.85cqw);
}

.pg {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Screenshot labels: number, name, one-line note */

figcaption {
  display: grid;
  gap: 0.2cqw;
  margin-top: 1cqw;
}

figcaption b {
  font-size: 1.65cqw;
  font-weight: 650;
  line-height: 1.25;
}

figcaption i {
  margin-right: 0.6cqw;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

figcaption span {
  color: var(--muted);
  font-size: 1.35cqw;
  line-height: 1.3;
}

/* ---------- 01 Cover ---------- */

.cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 7.7cqw;
  text-align: center;
}

.cover-logo {
  width: 19.5cqw;
}

.cover-tag {
  margin-top: 4.4cqw;
  font-size: 2.38cqw;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cover-sub {
  margin-top: 3cqw;
  color: #6b6f76;
  font-size: 2.26cqw;
  font-weight: 300;
}

.cover-icons {
  display: flex;
  gap: 3.4cqw;
  margin-top: 3.7cqw;
}

.cover-icons svg {
  width: 8.1cqw;
}

.cover-links {
  display: flex;
  flex-direction: column;
  gap: 0.7cqw;
  margin-top: 4.4cqw;
  font-size: 1.7cqw;
}

.cover-links a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

.cover-contact {
  display: flex;
  justify-content: space-between;
  width: 78cqw;
  margin-top: auto;
  margin-bottom: 8.75cqw;
  font-size: 1.65cqw;
}

.cover-contact a {
  color: var(--ink);
  text-decoration: none;
}

.cover-contact i {
  color: #7b7f86;
  font-style: normal;
}

/* ---------- 02 Inspiration ---------- */

.s2 {
  display: grid;
  grid-template-columns: 38fr 62fr;
  align-items: center;
  gap: 3.6cqw;
}

.s2-copy {
  display: grid;
  gap: 1.6cqw;
}

.s2-copy p {
  color: var(--text);
  font-size: 1.85cqw;
  line-height: 1.55;
}

.s2-copy b {
  color: var(--ink);
  font-weight: 600;
}

.s2-img {
  width: 100%;
  height: auto;
}

/* ---------- 03 Web ---------- */

.s3 {
  display: grid;
  grid-template-columns: repeat(2, 35cqw);
  place-content: center;
  gap: 2.2cqw 4cqw;
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--edge);
  border-radius: 0.8cqw;
}

/* ---------- 04 Mobile ---------- */

.s4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
}

.phone {
  width: 19.5cqw;
}

.phone img {
  width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  border-radius: 2cqw;
}

/* The AI screenshot already carries its own device frame */
.phone-ai img {
  border: 0;
  border-radius: 0;
}

/* ---------- 05 Locked preview ---------- */

.slide-locked {
  align-self: stretch;
}

.locked-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locked-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 1.1cqw;
  width: min(90%, 52cqw);
  padding: 3.6cqw 4cqw;
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: 1.8cqw;
  background: rgb(255 255 255 / 0.8);
  box-shadow: 0 1cqw 3cqw rgb(16 24 40 / 0.1);
  text-align: center;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.locked-num {
  color: var(--blue);
  font-size: max(9px, 1.1cqw);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.locked-card h2 {
  font-size: max(15px, 2.7cqw);
  font-weight: 700;
  line-height: 1.2;
}

.locked-card p {
  color: var(--text);
  font-size: max(11px, 1.5cqw);
  line-height: 1.5;
}

.locked-btn {
  margin-top: 0.8cqw;
  padding: max(7px, 1cqw) max(14px, 2.2cqw);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: max(12px, 1.4cqw);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.locked-btn:hover {
  background: var(--blue);
}

/* ---------- 06 Invest ---------- */

/* Visible overflow lets the page grow past its ratio if the form needs room; its row partner stretches with it */
.slide-invest {
  display: flex;
  overflow: visible;
}

.slide-invest .frame {
  position: static;
  flex: 1;
}

.form {
  display: grid;
  align-content: center;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.form label {
  display: grid;
  gap: 4px;
}

.form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form input,
.form textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 2px;
}

.form button {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.form button:hover {
  background: var(--blue);
}

.form-error {
  color: #b42318;
  font-size: 12px;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
}

.form-success {
  color: #067647;
  font-size: 13px;
  font-weight: 600;
}

.form button:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Honeypot field for bots, kept out of sight and out of the tab order */
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-foot {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 16px 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-foot a {
  text-decoration: none;
}

/* ---------- Small screens: reflow instead of shrinking ---------- */

@media screen and (max-width: 899px) {
  .notice {
    font-size: 13px;
  }

  .slide {
    aspect-ratio: auto;
  }

  .frame {
    position: static;
    row-gap: 14px;
    padding: 20px 18px;
  }

  .cover {
    position: static;
    padding: 44px 18px;
  }

  .cover-logo {
    width: 160px;
  }

  .cover-tag {
    margin-top: 28px;
    font-size: 19px;
  }

  .cover-sub {
    margin-top: 14px;
    font-size: 16px;
  }

  .cover-icons {
    gap: 18px;
    margin-top: 26px;
  }

  .cover-icons svg {
    width: 64px;
  }

  .cover-links {
    gap: 4px;
    margin-top: 24px;
    font-size: 15px;
  }

  .cover-contact {
    flex-direction: column;
    gap: 6px;
    width: auto;
    margin: 30px 0 0;
    font-size: 14px;
  }

  .top b {
    margin-right: 8px;
  }

  .title {
    font-size: 24px;
  }

  .sub {
    margin-top: 6px;
    font-size: 14px;
  }

  .s2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .s2-copy {
    gap: 12px;
  }

  .s2-copy p {
    font-size: 16px;
  }

  .s3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shot img {
    border-radius: 6px;
  }

  .s4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .phone {
    width: auto;
  }

  .phone img {
    border-radius: 14px;
  }

  figcaption {
    gap: 2px;
    margin-top: 8px;
  }

  figcaption b {
    font-size: 14px;
  }

  figcaption i {
    margin-right: 6px;
  }

  figcaption span {
    font-size: 13px;
  }

  .slide-locked {
    min-height: 320px;
  }

  .locked-card {
    gap: 6px;
    width: min(86%, 340px);
    padding: 18px 20px;
    border-radius: 12px;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .form input,
  .form textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/* ---------- 404 ---------- */

.nf {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.nf svg {
  width: 72px;
}

.nf h1 {
  margin: 8px 0 0;
  font-size: 56px;
  letter-spacing: -0.02em;
}

.nf p {
  color: var(--muted);
}

.nf a {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
