/* Rilare · Mission Control homepage components (October 2026).
   Builds on the tokens and base components in styles.css. */

/* Where the week goes */
.week-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.week-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.week-card h3 {
  margin-top: auto;
  padding-top: 32px;
  font-size: clamp(26px, 2.4vw, 34px);
}

.week-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.week-close {
  max-width: 30ch;
  margin-top: 46px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* The cost */
.cost {
  background:
    linear-gradient(160deg, rgba(202, 252, 9, 0.12), transparent 38%),
    var(--paper);
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(46px, 7vw, 100px);
}

.cost-stat strong {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(150px, 20vw, 260px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.cost-stat h2 {
  max-width: 17ch;
  margin-top: 18px;
  font-size: clamp(30px, 3.3vw, 46px);
}

.cost-note {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cost-list {
  display: grid;
}

.cost-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line-strong);
}

.cost-list article:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.cost-list span {
  grid-row: span 2;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 15px;
}

.cost-list h3 {
  font-size: clamp(26px, 2.5vw, 34px);
}

.cost-list p {
  margin-top: 8px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.55;
}

/* The 90 days */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
  padding: 0;
  list-style: none;
}

.phase-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  padding-top: clamp(40px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.phase-card::before,
.phase-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
}

.phase-card::before {
  right: 0;
  background: var(--paper);
}

.phase-card::after {
  width: 33.33%;
  background: var(--lime);
}

.phase-card:nth-child(2)::after { width: 66.66%; }
.phase-card:nth-child(3)::after { width: 100%; }

.phase-days {
  color: var(--brass);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.phase-card h3 {
  margin-top: 22px;
  font-size: clamp(28px, 2.7vw, 38px);
}

.phase-card p {
  margin-top: 18px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.6;
}

.phase-result {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}

.phase-result strong {
  font-weight: 400;
  font-style: italic;
  box-shadow: inset 0 -0.38em 0 var(--lime);
}

/* Method: six steps instead of four */
.process-route-6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

/* What stays with you, what we carry */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.split-col {
  padding: clamp(28px, 3.5vw, 46px);
  border-radius: var(--radius);
}

.split-col h3 {
  font-size: clamp(32px, 3.2vw, 46px);
}

.split-col ul {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.split-col li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}

.split-col li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
}

.split-col-keep {
  border: 1px solid var(--line);
  background: var(--paper);
}

.split-col-carry {
  background: var(--ink);
  color: var(--white);
}

.split-col-carry li {
  border-top-color: var(--line-dark);
}

.split-col-carry li::before {
  background: var(--lime);
}

/* Guarantee band */
.guarantee {
  padding-block: clamp(70px, 8vw, 116px);
  background: var(--lime);
  color: var(--ink);
}

.guarantee .eyebrow {
  color: var(--ink);
}

.guarantee h2 {
  max-width: 24ch;
  margin-top: 26px;
  font-size: clamp(34px, 4.4vw, 64px);
}

.guarantee h2 em {
  font-style: italic;
}

.guarantee p:not(.eyebrow) {
  max-width: 60ch;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.6;
}

/* Fit */
.fit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 58px;
}

.fit-col {
  padding: clamp(28px, 3.5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fit-col h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.fit-col ul {
  display: grid;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.fit-col li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}

.fit-col li::before {
  position: absolute;
  top: 15px;
  left: 0;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.fit-col-yes {
  background: rgba(255, 255, 255, 0.28);
}

.fit-col-yes li::before {
  content: "✓";
  background: var(--lime);
  color: var(--ink);
}

.fit-col-no {
  background: transparent;
  color: var(--graphite);
}

.fit-col-no li::before {
  content: "✕";
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

/* By sector */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.sector-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.sector-card h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.sector-card p {
  margin-top: 16px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.6;
}

.sector-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}

/* Operations Snapshot */
.snapshot {
  background:
    radial-gradient(circle at 90% 10%, rgba(202, 252, 9, 0.2), transparent 30%),
    var(--paper);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.snapshot-copy h2 {
  margin-top: 26px;
  font-size: clamp(44px, 5.6vw, 76px);
}

.snapshot-copy > p:not(.eyebrow):not(.snapshot-keep) {
  margin-top: 26px;
  font-size: 16px;
}

.snapshot-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.snapshot-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
}

.snapshot-list li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 14px;
}

.snapshot-keep {
  margin: 28px 0 30px;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.55;
}

.snapshot-doc {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(23, 26, 30, 0.16);
  transform: rotate(-1.4deg);
}

.snapshot-doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.snapshot-doc-top span {
  color: var(--brass);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.snapshot-doc > strong {
  display: block;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.snapshot-doc > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.snapshot-doc ul {
  display: grid;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.snapshot-doc li {
  display: flex;
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.snapshot-doc li b {
  color: var(--brass);
  font-family: var(--serif);
  font-weight: 400;
}

.snapshot-doc-stamp {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Investment */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: 58px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 8%, rgba(202, 252, 9, 0.16), transparent 30%),
    var(--ink);
  color: var(--white);
}

.price-label {
  color: var(--lime);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 26px;
}

.price-amount strong {
  font-family: var(--serif);
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.price-amount span {
  color: #aeb1a5;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card ul {
  display: grid;
  width: 100%;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding-block: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  line-height: 1.5;
}

.price-card .button {
  margin-top: auto;
}

.price-compare {
  display: grid;
  align-content: start;
  gap: 14px;
}

.price-compare > div {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.price-compare > div:nth-child(2) {
  border-color: transparent;
  background: var(--paper);
}

.price-compare h3 {
  font-size: clamp(24px, 2.3vw, 32px);
}

.price-compare p {
  margin-top: 12px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.6;
}

.price-compare .price-honest {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  color: var(--muted);
  font-size: 13px;
}

/* Founder proof */
.founder-proof {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.founder-proof > span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.founder-proof ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.founder-proof p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.founder-copy > p:not(.eyebrow) + p {
  margin-top: 16px;
}

/* Apply: direct booking above the form */
.apply-book {
  margin-top: 30px;
}

/* Emphasis on dark backgrounds: lime text instead of the highlight bar */
.apply-copy h2 em {
  background: none;
  color: var(--lime);
}

/* Keep "Day 30" on one line in the deliverables panel */
#deliverables .model-price strong {
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1080px) {
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cost-grid,
  .phase-grid,
  .split-grid,
  .fit-grid,
  .snapshot-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cost-grid {
    align-items: start;
  }

  .snapshot-doc {
    transform: none;
  }
}

@media (max-width: 640px) {
  .week-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .week-card {
    min-height: 0;
  }

  .week-card h3 {
    padding-top: 22px;
  }

  .process-route-6 {
    gap: 4px;
  }

  .process-route-6 span {
    width: 32px;
    height: 32px;
  }
}

/* On phones the homepage already has the bottom booking bar, so the floating
   scheduler would be a second, overlapping booking button. */
@media (max-width: 640px) {
  .sched {
    display: none;
  }
}

/* Pre-qualification form (step 1 of 2) */
.apply-steps {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.apply-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
}

.apply-steps li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--serif);
  font-size: 14px;
}

.apply-steps strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.apply-steps small {
  display: block;
  margin-top: 3px;
  color: #aeb1a5;
  font-size: 13px;
}

.field-optional {
  margin-left: 6px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field-checks {
  min-width: 0;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}

.field-checks legend {
  margin-bottom: 9px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--canvas);
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.check-grid input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--ink);
}

.check-grid label:has(input:checked) {
  border-color: var(--ink);
  background: rgba(202, 252, 9, 0.22);
}

@media (max-width: 640px) {
  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero photo (October 2026): the specialist sits on the right of the frame. */
.hero-visual > img {
  object-position: 62% 24%;
}
