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

:root {
  color-scheme: light;
  --ink: #17232f;
  --muted: #607080;
  --paper: #f2f0eb;
  --white: #ffffff;
  --lime: #c8ff62;
  --blue: #2754ff;
  --rule: #cbd0d4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(23, 35, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 47, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.masthead p,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.78rem;
}

.intro {
  padding: clamp(72px, 11vw, 148px) 0 90px;
  position: relative;
}

.eyebrow,
.proposal-number {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8.7rem);
  line-height: 0.87;
}

.intro-copy {
  max-width: 610px;
  margin: 42px 0 0 auto;
  color: #3f4e5b;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 54px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(39, 84, 255, 0.13);
}

.proposals {
  padding: 88px 0 120px;
  border-top: 1px solid var(--rule);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.section-heading > p {
  color: var(--muted);
  font-size: 0.86rem;
}

.proposal-card {
  overflow: hidden;
  border: 1px solid #1c2833;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
}

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

.proposal-preview.warm-preview {
  background: #ddd6c8;
}

.mini-site.warm-mini {
  background: #f7f2e7;
}

.warm-mini-header {
  min-height: 52px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #193f36;
  font-family: Arial, sans-serif;
  font-size: 0.58rem;
}

.warm-mini-header b {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
}

.warm-mini-header b i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff4b9;
  font-style: normal;
}

.warm-mini-header b small {
  font-size: 0.39rem;
}

.warm-mini-header > strong {
  padding: 8px 11px;
  border-radius: 999px;
  background: #d9785f;
  color: white;
}

.warm-mini-hero {
  min-height: 350px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, #f2d45c 0 18%, transparent 18.2%),
    #f7f2e7;
}

.warm-mini-hero > div {
  padding: 8%;
}

.warm-mini-hero small {
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.warm-mini-hero strong {
  display: block;
  margin: 14px 0;
  color: #193f36;
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-size: clamp(1.35rem, 3.3vw, 2.9rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.warm-mini-hero em {
  color: #d9785f;
  font-style: normal;
}

.warm-mini-hero > div > span {
  font-size: 0.68rem;
}

.warm-mini-hero img {
  width: 100%;
  height: 330px;
  border-radius: 48% 48% 12px 12px;
  object-fit: cover;
  object-position: 36% center;
}

.proposal-preview.spotless-preview {
  background: #9fc7df;
}

.mini-site.spotless-mini {
  background: #d4efff;
}

.spotless-mini-header {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 52px;
  padding-bottom: 18px;
  color: #0a2035;
  font-family: Arial, sans-serif;
  font-size: 0.61rem;
}

.spotless-mini-header b {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  font-size: 0.77rem;
}

.spotless-mini-header b i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: #ff5a36;
  font-style: normal;
}

.spotless-mini-header b small {
  display: block;
  font-size: 0.42rem;
}

.spotless-mini-header > strong {
  padding-left: 16px;
  border-left: 1px solid #0a2035;
}

.spotless-mini-hero {
  min-height: 350px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  overflow: hidden;
  border: 1px solid #0a2035;
}

.spotless-mini-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8%;
}

.spotless-mini-hero small {
  font-family: monospace;
  font-size: 0.47rem;
  letter-spacing: 0.08em;
}

.spotless-mini-hero strong {
  margin: 14px 0;
  color: #0a2035;
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.spotless-mini-hero em {
  color: #ff5a36;
  font-style: normal;
}

.spotless-mini-hero > div > span {
  font-size: 0.68rem;
}

.spotless-mini-hero img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: 62% center;
}

.proposal-preview {
  display: block;
  padding: clamp(18px, 4vw, 48px);
  background: #d8cbc4;
  text-decoration: none;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px 8px 0 0;
  background: #ecedf0;
}

.browser-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a6adb5;
}

.browser-bar div {
  width: min(300px, 45%);
  margin-inline: auto;
  padding: 4px 10px;
  border-radius: 3px;
  background: white;
  color: #777;
  font-size: 0.55rem;
  text-align: center;
}

.mini-site {
  min-height: 430px;
  padding: 24px 36px 36px;
  background: #fbf7f0;
}

.mini-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  color: #47203f;
  font-family: Georgia, serif;
  font-size: 0.65rem;
}

.mini-header b {
  margin-right: auto;
  font-size: 1rem;
}

.mini-header i {
  padding: 10px 12px;
  border-radius: 999px;
  background: #47203f;
  color: white;
  font-family: sans-serif;
  font-style: normal;
}

.mini-hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 350px;
  overflow: hidden;
  border-radius: 6px 60px 6px 6px;
  background: #eedcca;
}

.mini-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8%;
}

.mini-hero small {
  color: #b34f41;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.mini-hero strong {
  display: block;
  margin: 12px 0;
  color: #47203f;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 0.95;
}

.mini-hero span {
  font-size: 0.72rem;
}

.mini-hero img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.proposal-details {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 34px;
}

.proposal-details h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.proposal-details p:not(.proposal-number) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.65;
}

.proposal-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.badge {
  padding: 8px 11px;
  border-radius: 999px;
  background: #e8f7c9;
  font-size: 0.75rem;
  font-weight: 700;
}

.proposal-actions a {
  font-weight: 700;
  text-decoration: none;
}

.proposal-actions a span {
  color: var(--blue);
}

.empty-slot {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 30px;
  border: 1px dashed #aeb5ba;
  color: var(--muted);
}

.empty-slot span {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 60px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .masthead {
    min-height: 80px;
  }

  .masthead > p,
  .mini-header span,
  .mini-header i {
    display: none;
  }

  .intro {
    padding: 80px 0 64px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.7rem);
  }

  .intro-copy {
    margin: 34px 0 0;
  }

  .section-heading > p {
    display: none;
  }

  .proposal-preview {
    padding: 12px;
  }

  .mini-site {
    min-height: 360px;
    padding: 18px;
  }

  .mini-hero {
    grid-template-columns: 1fr;
  }

  .mini-hero > div {
    min-height: 190px;
  }

  .mini-hero img {
    min-height: 170px;
    height: 170px;
  }

  .spotless-mini-header > span,
  .spotless-mini-header > strong {
    display: none;
  }

  .spotless-mini-hero {
    grid-template-columns: 1fr;
  }

  .spotless-mini-hero > div {
    min-height: 190px;
  }

  .spotless-mini-hero img {
    min-height: 170px;
    height: 170px;
  }

  .warm-mini-header > span,
  .warm-mini-header > strong {
    display: none;
  }

  .warm-mini-hero {
    grid-template-columns: 1fr;
  }

  .warm-mini-hero > div {
    min-height: 190px;
  }

  .warm-mini-hero img {
    height: 170px;
    border-radius: 40% 40% 8px 8px;
  }

  .proposal-details {
    grid-template-columns: 1fr;
  }

  .proposal-actions {
    align-items: flex-start;
    gap: 24px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}
