/* Section geometry from the current public ChannelTalk and Modusign homepages.
   Text and the gray replacement images are specific to this tutoring site. */

/* ChannelTalk: icon row between the centered introduction and split demo. */
.lab-icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
  margin: 47px auto 0;
  color: #b8b9bd;
}
.lab-icon-row .icon { width: 29px; height: 29px; }
.lab-intro { margin-bottom: 79px; }
.lab-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.lab-visual { height: 520px; }
.lab-copy .eyebrow { color: var(--toss-ink); font-size: 18px; line-height: 28px; }
.lab-examples { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lab-examples-label { color: var(--toss-ink); font-size: 14px; }
.lab-controls { width: auto; max-width: none; gap: 5px; margin: 0; }

/* Modusign: the three proof cards all stack below its tablet breakpoint. */
@media (max-width: 900px) {
  .why-section .container { width: calc(100% - 48px); }
  .why-grid { display: flex; flex-direction: column; gap: 24px; }
  .why-card, .why-card:last-child { grid-column: auto; width: 100%; min-height: 180px; }
}
@media (max-width: 700px) {
  .why-section .container { width: calc(100% - 32px); }
  .why-grid { gap: 16px; }
  .why-card, .why-card:last-child { min-height: 140px; }
}
@media (max-width: 480px) {
  .why-card, .why-card:last-child { min-height: 162px; }
}

/* Modusign: full-width proof strip after its three benefit cards. */
.method-section { padding-bottom: 110px; }
.method-proof {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  min-height: 145px;
  margin-top: 20px;
  padding: 24px 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.method-proof strong { font-size: 22px; font-weight: 600; text-align: center; }
.method-proof-images { display: flex; gap: 15px; overflow: hidden; }
.method-proof-images img { display: block; flex: 0 0 82px; width: 82px; height: 82px; border-radius: 12px; }

/* Modusign: image description/link, followed by its pair of CTA cards. */
.paths-section { padding-bottom: 115px; }
.path-caption a {
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin-top: 17px;
  color: var(--toss-ink);
  font-weight: 600;
}
.path-caption a .icon { width: 18px; height: 18px; }
.path-cta-band { background: var(--toss-surface); padding: 64px 0; }
.path-cta-band .container { width: min(1192px,calc(100% - 80px)); }
.path-cta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.path-cta-grid article {
  min-height: 143px;
  display: grid;
  grid-template-columns: 1fr 146px;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  background: #fff;
  border: 1px solid var(--toss-line);
  border-radius: 12px;
}
.path-cta-grid h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; color: var(--toss-ink); }
.path-cta-grid p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--toss-muted); }
.path-cta-grid a {
  display: grid;
  place-items: center;
  height: 50px;
  border-radius: 6px;
  color: #fff;
  background: var(--toss-blue);
  font-size: 16px;
  font-weight: 600;
}
.path-cta-grid a:hover { background: #2272eb; }

/* Modusign: two wide information rows and one small pill in the first row. */
.faq-section { padding-top: 110px; padding-bottom: 120px; }
.faq-row { padding-top: 36px; padding-bottom: 36px; }
.faq-meta {
  display: block;
  width: max-content;
  margin-top: 18px;
  padding: 7px 15px;
  border: 1px solid #dae6fd;
  border-radius: 4px;
  background: #edf4ff;
  color: #2272eb;
  font-size: 14px;
  line-height: 1.25;
}

/* Modusign: five footer link columns and the brand in the bottom row. */
.site-footer { padding: 80px 0 45px; }
.site-footer .container { width: min(1080px,calc(100% - 80px)); }
.footer-top { display: block; padding: 0 0 120px; }
.footer-links { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 25px; }
.footer-links>div { min-width: 0; gap: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; padding-top: 28px; }
.footer-bottom .brand { font-size: 22px; color: var(--toss-ink); }

/* Modusign: light and primary actions in the concentric CTA. */
.consult-section { background: #eaf3ff; }
.consult-section:before {
  background: radial-gradient(circle,
    #ffffff 0%,
    #fafcff 29%,
    #f0f6ff 33%,
    #edf5ff 49%,
    #dceaff 52%,
    #e7f1ff 56%,
    #e7f1ff 66%,
    #d9e9ff 69%,
    #e8f2ff 73%,
    #eaf3ff 100%);
}
.consult-actions a:last-child { color: #fff; background: var(--toss-blue); border-color: var(--toss-blue); }

@media (max-width: 800px) {
  .lab-icon-row { gap: 20px; }
  .method-proof { grid-template-columns: 1fr; }
  .method-proof strong { text-align: left; }
  .path-cta-band .container { width: calc(100% - 44px); }
  .path-cta-grid article { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

@media (min-width: 701px) and (max-width: 900px) {
  .lab-intro h2 { font-size: 36px; line-height: 1.35; }
  .lab-grid { width: calc(100% - 36px); grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
  .lab-copy h2 { font-size: 36px; line-height: 48px; }
  .lab-visual { width: 300px; height: 300px; margin: 0; border-radius: 25px; }
}

@media (min-width: 1440px) {
  .lab-grid { grid-template-columns: 650px 650px; }
}

@media (max-width: 700px) {
  .lab-intro h2 { font-size: 30px; line-height: 40px; }
  .lab-grid { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 0; }
  .lab-copy { padding-right: 0; }
  .lab-copy .eyebrow { margin-bottom: 10px; font-size: 18px; line-height: 28px; }
  .lab-copy h2 { font-size: 30px; line-height: 40px; margin: 0; }
  .lab-prompt { width: 100%; max-width: none; min-height: 48px; margin: 25px 0 0; padding: 6px 10px 6px 18px; font-size: 16px; }
  .lab-prompt span { width: 32px; height: 32px; }
  .lab-examples { justify-content: center; margin-top: 12px; }
  .lab-examples-label { font-size: 13px; }
  .lab-controls button { padding: 5px 9px; font-size: 13px; line-height: 16px; }
  .lab-visual { width: min(345px,100%); height: auto; aspect-ratio: 1; margin: 34px auto 0; border-radius: 26px; }
}

@media (max-width: 580px) {
  .lab-icon-row { gap: 16px; margin-top: 34px; overflow: hidden; padding: 0 18px; }
  .lab-icon-row .icon { flex: 0 0 23px; width: 23px; height: 23px; }
  .lab-intro { margin-bottom: 55px; }
  .lab-intro h2 { font-size: 30px; line-height: 40px; }
  .lab-grid { width: calc(100% - 48px); }
  .lab-copy h2 { font-size: 30px; line-height: 40px; }
  .lab-prompt { min-height: 48px; padding: 6px 10px 6px 18px; font-size: 16px; }
  .lab-prompt span { width: 32px; height: 32px; }
  .lab-controls button { font-size: 13px; }
  .lab-visual { width: min(345px,100%); height: auto; aspect-ratio: 1; margin-top: 34px; border-radius: 26px; }
  .method-section { padding-bottom: 85px; }
  .method-proof { min-height: 0; padding: 24px; margin-top: 16px; }
  .method-proof strong { display: none; }
  .method-proof-images { gap: 16px; }
  .method-proof-images img { flex-basis: 82px; }
  .paths-section { padding-bottom: 75px; }
  .path-tabs .paths-right { width: 100%; margin: 15px 0 22px; }
  .path-tabs .path-stage { width: 100%; }
  .path-tabs .path-caption { margin: 20px 0 0; }
  .path-caption a { margin-top: 18px; }
  .path-cta-band { padding: 60px 0; }
  .path-cta-band .container { width: calc(100% - 36px); }
  .path-cta-grid { grid-template-columns: 1fr; gap: 16px; }
  .path-cta-grid article { min-height: 0; padding: 25px 20px; gap: 25px; }
  .path-cta-grid a { width: 100%; }
  .faq-section { padding-top: 80px; padding-bottom: 85px; }
  .faq-row { padding: 24px 0; }
  .footer-top { padding-bottom: 80px; }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 20px; font-size: 14px; }
  .footer-bottom { align-items: start; gap: 25px; flex-direction: column; }
}
