/* The homepage follows the released Lab frame: paper to the edge, a strong
   heading, one choice area, then the creator signature. Taller viewports give
   room to the cards; small screens keep normal document scrolling. */
.site-head .head-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.site-head .header-specialty {
  color: #c7beae;
  font: 700 14px/1.5 var(--brand-sans);
  white-space: nowrap;
}

.site-head .header-divider {
  color: #81796c;
  font: 500 13px/1 var(--brand-mono);
}

body:has(.income-start) #main {
  width: calc(100% - 28px);
  max-width: none;
  min-height: 0;
  margin: 14px auto;
  padding: 0;
}

.income-start {
  display: flex;
  min-height: calc(100svh - 104px);
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: clamp(24px, 3.4svh, 40px) clamp(24px, 4vw, 64px) 18px;
}

.income-intro {
  flex: 0 0 auto;
  margin-bottom: 18px;
}

.income-intro .eyebrow {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .18em;
  line-height: 1.4;
}

.income-intro h1 {
  margin-bottom: 12px;
  font-size: clamp(66px, min(7vw, 10svh), 96px);
  letter-spacing: -.06em;
  line-height: 1.08;
}

.income-intro p {
  max-width: 600px;
  padding-top: 11px;
  font-size: 16px;
  line-height: 1.65;
}

.income-start .home-proof-strip {
  max-width: 590px;
  gap: 12px;
  margin-top: 12px;
  padding-top: 0;
}

.income-start .home-proof-strip strong {
  font-size: 28px;
  line-height: 1.15;
}

.income-start .home-proof-strip span {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
}

.income-start .salary-grid {
  width: 100%;
  max-width: 1000px;
  flex: 1 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 0 auto;
}

.income-start .salary-option {
  display: flex;
  min-height: 144px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 16px;
  text-align: left;
}

.income-start .salary-option.selected {
  padding: 11px 15px;
}

.income-start .salary-option .salary-coin-art {
  width: 142px;
  height: 64px;
  flex: 0 0 auto;
  align-self: center;
  margin: 0 0 6px;
}

.income-start .salary-option strong {
  margin-bottom: 4px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.12;
}

.income-start .salary-option > span:last-child {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.income-start .salary-explore strong {
  font-size: clamp(24px, 2.45vw, 34px) !important;
}

.income-author {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  margin-top: 14px;
}

.income-author-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 800 28px/1.2 var(--serif);
  letter-spacing: -.02em;
  text-decoration: none;
}

.income-author-link img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.income-author-link small {
  margin-left: 2px;
  color: var(--muted);
  font: 600 12px/1.5 var(--brand-sans);
  letter-spacing: .02em;
}

.income-author-link:hover { color: var(--red); }
.income-author-link:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
body:has(.income-start) .site-foot { display: none; }

/* This is a three-column desktop layout even when it lives in a narrow app
   panel. Keep the entire heading on one line between 621 and 900 px. */
@media (min-width: 621px) and (max-width: 900px) {
  .income-start { padding-left: clamp(24px, 4vw, 36px); padding-right: clamp(24px, 4vw, 36px); }
  .income-intro h1 { font-size: clamp(46px, 7.2vw, 66px); }
  .income-start .salary-option { padding-left: 10px; padding-right: 10px; }
  .income-start .salary-option.selected { padding-left: 9px; padding-right: 9px; }
  .income-start .salary-option strong { font-size: clamp(20px, 3.08vw, 27px); }
  .income-start .salary-explore strong { font-size: clamp(23px, 3.3vw, 28px) !important; }
}

/* Short desktop windows trade small gaps and picture padding for space,
   while retaining the title and author hierarchy of the Lab reference. */
@media (min-width: 621px) and (max-height: 760px) {
  .income-start { padding-top: 18px; padding-bottom: 16px; }
  .income-intro { margin-bottom: 14px; }
  .income-intro .eyebrow { margin-bottom: 8px; font-size: 16px; }
  .income-intro h1 { margin-bottom: 10px; }
  .income-intro p { padding-top: 8px; font-size: 15px; }
  .income-start .home-proof-strip { margin-top: 10px; }
  .income-start .home-proof-strip strong { font-size: 26px; }
  .income-start .home-proof-strip span { margin-top: 3px; }
  .income-start .salary-option { min-height: 136px; padding-top: 10px; padding-bottom: 10px; }
  .income-start .salary-option.selected { padding-top: 9px; padding-bottom: 9px; }
  .income-start .salary-option .salary-coin-art { width: 132px; height: 54px; margin-bottom: 5px; }
  .income-start .salary-option > span:last-child { font-size: 11px; }
  .income-author { margin-top: 12px; }
}

@media (max-width: 620px) {
  .site-head .head-links { gap: 7px; }
  .site-head .header-specialty, .site-head .header-divider { font-size: 12px; }
  .site-head .head-links > a { min-height: 38px; font-size: 12px; }
  body:has(.income-start) #main { width: calc(100% - 16px); margin: 8px auto; }
  .income-start { min-height: calc(100svh - 80px); padding: 22px 18px 16px; }
  .income-intro { margin-bottom: 16px; }
  .income-intro .eyebrow { margin-bottom: 10px; font-size: 13px; letter-spacing: .12em; }
  .income-intro h1 { margin-bottom: 12px; font-size: clamp(40px, 11vw, 48px); line-height: 1.06; }
  .income-intro p { max-width: 340px; padding-top: 10px; font-size: 14px; line-height: 1.7; }
  .income-start .home-proof-strip { gap: 8px; margin-top: 14px; }
  .income-start .home-proof-strip strong { font-size: 25px; }
  .income-start .home-proof-strip span { font-size: 10px; }
  .income-start .salary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .income-start .salary-option { min-height: 126px; padding: 12px 9px; }
  .income-start .salary-option.selected { padding: 11px 8px; }
  .income-start .salary-option .salary-coin-art { width: 120px; height: 56px; margin-bottom: 5px; }
  .income-start .salary-option strong { font-size: clamp(18px, 5.4vw, 26px); }
  .income-start .salary-explore strong { font-size: clamp(22px, 5.8vw, 27px) !important; }
  .income-start .salary-option > span:last-child { font-size: 10px; letter-spacing: .02em; }
  .income-author { margin-top: 14px; }
  .income-author-link { min-height: 32px; font-size: 26px; gap: 8px; }
  .income-author-link img { width: 26px; height: 26px; flex-basis: 26px; }
  .income-author-link small { font-size: 12px; }
}

@media (max-width: 360px) {
  .site-head .head-links { flex-direction: column; align-items: flex-end; gap: 0; }
  .site-head .header-divider { display: none; }
  .site-head .head-links > a { min-height: 26px; }
}

@media print {
  body:has(.income-start) #main { width: 100%; margin: 0; }
  .income-start { min-height: 0; }
}
