/* "Lite" copy of the page (/): only Codecyon AI, Agentic and Online,
   followed by a footer. Loaded only by lite/editions/winter2026/index.html. */

/* sections after Online */
#retail, #marketing, #checkout, #operations, #shop-app, #b2b, #finance, #shipping, #developer { display: none !important; }

/* their entries in the sidebar and the menu */
li:has(> a[href$="#retail"]), li:has(> a[href$="#marketing"]), li:has(> a[href$="#checkout"]),
li:has(> a[href$="#operations"]), li:has(> a[href$="#shop-app"]), li:has(> a[href$="#b2b"]),
li:has(> a[href$="#finance"]), li:has(> a[href$="#shipping"]), li:has(> a[href$="#developer"]) { display: none !important; }

/* ---------- footer ---------- */
.lt-footer {
  --lt-cream: #f7f7ee;
  --lt-ink: #0b0b0b;
  --lt-mute: rgba(247, 247, 238, .55);
  --lt-line: rgba(247, 247, 238, .14);
  position: relative;
  z-index: 7;                      /* above the page layers and the fixed sidebar */
  background: var(--lt-ink);
  color: var(--lt-cream);
  --lt-sans: NeueMontreal, Helvetica, Arial, sans-serif;   /* the page's own typefaces */
  --lt-serif: HWCigars, Georgia, "Times New Roman", serif;
  font-family: var(--lt-sans);
  padding: clamp(64px, 9vw, 140px) clamp(16px, 5vw, 80px) 32px;
  /* clip, not hidden: "hidden" makes the footer a new block context that shrinks away from a
     float the page keeps on the left at wide screens, leaving a gap on the left */
  overflow: clip;
  width: 100%;
}
.lt-footer a { color: inherit; text-decoration: none; }
.lt-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lt-footer a:focus-visible { outline: 2px solid var(--lt-cream); outline-offset: 3px; }

.lt-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--lt-line);
}
.lt-lead h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
}
.lt-lead h2 i { font-family: var(--lt-serif); font-weight: 400; }
.lt-lead p { margin: 0 0 28px; max-width: 34ch; color: var(--lt-mute); font-size: 16px; line-height: 1.45; }
.lt-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--lt-cream); color: var(--lt-ink) !important;
  font-size: 15px; font-weight: 500;
}
.lt-cta:hover { text-decoration: none !important; opacity: .88; }

.lt-col h3 {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lt-mute);
}
.lt-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lt-col li { font-size: 17px; line-height: 1.3; font-weight: 700; }
.lt-cta svg { width: 12px; height: 12px; }
.lt-col .lt-num { display: inline-block; min-width: 2.2em; color: var(--lt-mute); font-family: var(--lt-serif); }

.lt-mark {
  margin: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 56px);
  font-size: clamp(48px, 11.5vw, 210px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.lt-mark i { font-family: var(--lt-serif); font-weight: 400; letter-spacing: -.02em; }

.lt-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 14px; color: var(--lt-mute);
}
.lt-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 1023px) {
  .lt-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lt-lead { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .lt-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-mark { white-space: normal; }
}

/* Phones (portrait): shorter hero box (340x320 instead of 340x464), placed under the header, so the
   two characters (hero-characters.css) fit fully below it. The frame lines follow the box size. */
@media (max-width: 767px) and (orientation: portrait) {
  main nav[class*="aspect-[340/464]"] {
    aspect-ratio: 340 / 320;
    top: calc(96px + min(340px, 100vw - 24px) * .4706);
  }
  /* the frame lines are a separate fixed layer (340x464, centred): put its top at the box top and
     make the frame rectangles 320 tall (SVG units = the box's px at full width) */
  .davinci-lines__container { top: calc(96px + min(340px, 100vw - 24px) * .68235); }
  .davinci-lines__container rect.davinci-lines__loader,
  .davinci-lines__container rect.davinci-lines__complete { height: 320px; }
  /* the box's own frame (shown after the intro): unsquashed drawing from the box top, rectangle 320 tall */
  main nav[class*="aspect-[340/464]"] > div:first-child { align-items: flex-start; }
  main nav[class*="aspect-[340/464]"] > div:first-child > svg.davinci-lines { height: auto; }
  main nav[class*="aspect-[340/464]"] rect.davinci-lines__border { height: 320px; }
}
