.lexi {
  --cream: #fbf8f2;
  --blue: #164baa;
  --navy: #102a47;
  --warm-line: #d7d3c9;
  --display: "DM Sans", "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
}
.lexi .wrap { width: min(1240px, calc(100% - clamp(2.5rem, 8vw, 8rem))); }
.lexi .topbar { border-color: var(--warm-line); background: var(--cream); }
.lexi .account-link { border-radius: 2rem; border-color: #8190a0; }
.story { border-bottom: 1px solid var(--warm-line); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.42fr);
  gap: clamp(1.8rem, 4vw, 4.1rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.2vw, 4.6rem);
}
.story-intro { padding-bottom: .3rem; }
.edition, .scene figcaption span {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.edition { display: flex; gap: .65rem; align-items: center; color: var(--blue); }
.edition::before { content: ""; width: 1.7rem; height: 2px; background: currentColor; }
.story h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.1vw, 5.05rem);
  line-height: .99;
  letter-spacing: -.065em;
  margin-block: 1.1rem;
  max-width: 10ch;
  font-weight: 740;
}
.story h1 em {
  display: block;
  color: var(--blue);
  font-family: "Baskervville", Georgia, serif;
  letter-spacing: -.065em;
  font-weight: 400;
  white-space: nowrap;
}
.intro-text { max-width: 37ch; color: #435366; font-size: clamp(1rem, 1.22vw, 1.14rem); line-height: 1.55; }
.story-button {
  gap: 1.3rem;
  border-radius: .45rem;
  background: var(--blue);
  margin-top: 1.4rem;
  padding: .75rem 1.1rem;
}
.story-button span { font-family: "Segoe UI Symbol", sans-serif; font-weight: 400; font-size: 1.35em; line-height: 1; }
.starting-price { color: #4f5c69; font-size: .9rem; margin-top: .65rem; }
.starting-price strong { color: var(--navy); }
.photo-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.35rem, .65vw, .6rem);
}
.scene {
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  border-radius: .45rem;
  color: white;
  overflow: hidden;
  background: var(--navy);
}
.scene img {
  width: 100%;
  height: clamp(250px, 25vw, 360px);
  object-fit: cover;
  display: block;
}
.scene-call img { object-position: 76% 30%; }
.scene-desk img { object-position: 66% 33%; }
.scene-desk { background: var(--blue); }
.scene figcaption { padding: .85rem clamp(.8rem, 1.3vw, 1.2rem) 1rem; }
.scene figcaption span { color: #ffcd89; font-size: .7rem; }
.scene-desk figcaption span { color: #dceafa; }
.scene figcaption strong {
  display: block;
  font-size: clamp(1.02rem, 1.35vw, 1.32rem);
  font-weight: 625;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-top: .26rem;
}
.lexi .plans { background: white; }
.lexi .plans .eyebrow, .lexi .callback .eyebrow {
  font: 650 .75rem/1.5 "IBM Plex Mono", Consolas, monospace;
  letter-spacing: .105em;
}
.lexi .section-lead h2, .callback h2 { font-family: var(--display); letter-spacing: -.055em; }
.lexi .plan { box-shadow: none; border-radius: .75rem; }
.lexi .essential .plan-head { background: #f3f3ee; }
.lexi .pro .plan-head, .lexi .pro .choose { background: var(--blue); }
.lexi .pro .price strong { color: white; }
.lexi .pro .plan-intro { color: #e9f3fc; }
.lexi .features { padding-bottom: 1.1rem; }
.lexi .pilot-note strong { color: var(--blue); }
.callback { color: white; background: var(--navy); padding-block: clamp(2.6rem, 5vw, 5rem); scroll-margin-top: 4.7rem; }
.callback-grid { display: grid; grid-template-columns: .88fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.callback .eyebrow { color: #ffcd89; margin-bottom: .65rem; }
.callback h2 { max-width: 14ch; }
.callback-grid > div > p:not(.eyebrow) { max-width: 56ch; color: #e4eaf1; }
.callback .contact { color: white; margin-top: 1.1rem; }
.lexi .footer { border-top: 0; }
@media (min-width: 741px) and (max-width: 1000px) {
  .story-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.35fr); gap: 1.25rem; }
  .scene img { height: clamp(225px, 30vw, 290px); }
}
@media (max-width: 740px) {
  .lexi .wrap { width: min(570px, calc(100% - 2rem)); }
  .story-grid { grid-template-columns: minmax(0, 1fr); padding-block: 1.8rem; gap: 1.45rem; }
  .story h1 { font-size: clamp(3.15rem, 10vw, 4.35rem); max-width: none; margin-block: .7rem; }
  .story h1 em { display: inline-block; }
  .intro-text { max-width: 50ch; }
  .story-button { margin-top: 1rem; }
  .scene img { height: clamp(160px, 44vw, 275px); }
  .scene figcaption { padding: .6rem .65rem .75rem; }
  .scene figcaption span { font-size: .65rem; }
  .scene figcaption strong { font-size: clamp(.98rem, 3.3vw, 1.18rem); }
  .callback-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .callback { scroll-margin-top: 3.8rem; }
  .lexi .help-nav { display: none; }
  .lexi .footer { display: grid; grid-template-columns: 1fr auto; justify-items: start; gap: .5rem 1rem; }
  .lexi .footer > :nth-child(even) { justify-self: end; }
  .lexi .footer p { order: 0; }
}
@media (max-width: 380px) {
  .scene figcaption { padding-inline: .5rem; }
  .edition { font-size: .68rem; }
}
