/* Dishantra premium discovery staging, 2026-11-06. Scope: homepage + Solutions hub. */
.ux-home-routes{background:linear-gradient(180deg,#f4f7fa,#fff);border-block:1px solid #e6ebef}
.ux-routes-wrap{padding-top:36px;padding-bottom:34px}
.ux-route-head{margin-bottom:18px}
.ux-route-head h2{margin:5px 0 8px;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.2}
.ux-route-head p{max-width:740px}
.ux-route-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ux-route-card{border:1px solid #d7e0e8;border-top:4px solid #b5873c;border-radius:14px;padding:22px 23px;min-width:0;box-shadow:0 8px 26px rgba(2,22,45,.045)}
.ux-route-card h3{font-size:clamp(1.15rem,1.6vw,1.37rem);line-height:1.3;margin:12px 0 9px}
.ux-route-card p{color:#405569;font-size:.96rem;line-height:1.58;margin:0 0 20px}
.ux-route-card .status-label{font-size:.74rem;letter-spacing:.08em}
.ux-route-card .ux-route-action{margin-top:auto;display:inline-flex;color:#153f65;font-weight:700;text-underline-offset:3px}
.ux-route-free{margin:18px 0 0!important;color:#496177;font-size:.95rem}.ux-route-free a{font-weight:700;color:#16446a}
.ux-solutions-intro{margin-bottom:12px}.ux-solutions-intro h1{font-size:clamp(2.3rem,4.5vw,3.8rem)}.ux-solutions-intro p{max-width:780px}
.ux-feature-products{margin:12px 0 44px}.ux-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ux-product-card{border:1px solid #dae2e9;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0;box-shadow:0 14px 34px rgba(2,22,45,.065)}
.ux-product-thumb{display:block;background:#ebf0f5;aspect-ratio: 16/10;overflow:hidden}.ux-product-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.ux-product-body{padding:20px 22px 23px;display:flex;flex:1;flex-direction:column;min-width:0}.ux-product-body h3{font-size:1.35rem;line-height:1.3;margin:10px 0}.ux-product-body h3 a{color:#052d4c;text-decoration:none}.ux-product-body h3 a:hover,.ux-product-body h3 a:focus-visible{text-decoration:underline}
.ux-product-body p{color:#385167;line-height:1.56;font-size:.95rem;margin:0 0 14px}.ux-product-facts{font-weight:700;color:#0f415b!important;margin-top:auto!important}.ux-product-link{font-weight:700;color:#11476b;display:inline-flex;margin-top:5px;text-underline-offset:3px}
.ux-pathways{margin:0 0 40px}.ux-need-grid .hub-card{border-radius:12px}.ux-need-grid .hub-card h3{font-size:1.3rem}.ux-need-grid .hub-card p{font-size:.95rem;line-height:1.6}.ux-need-grid .hub-card>a:last-child{margin-top:auto}
.ux-free-bar{background:#092840;color:#f1f7fa;border-radius:16px;padding:30px 32px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:24px;align-items:center;margin-bottom:42px}
.ux-free-bar .eyebrow{color:#e9b969}.ux-free-bar h2{font-size:1.55rem;color:#f9fbff;margin:8px 0}.ux-free-bar p{color:#d1e1e9;margin-bottom:0}.ux-free-links{display:flex;flex-direction:column;gap:9px}.ux-free-links a{display:block;background:#fff;color:#092840;padding:11px 15px;border-radius:8px;font-weight:700;text-decoration:none}.ux-free-links a:hover,.ux-free-links a:focus-visible{background:#e8f5ff;text-decoration:underline}
.ux-future{padding-top:15px;border-top:1px solid #d7e0e8}.ux-future h2{margin:0 0 8px}.ux-future>p{color:#52677b}.ux-future-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-future-grid .hub-card{border-radius:12px}
.ux-stage-disclosure{border-left:3px solid #d0a258;padding:11px 14px;margin-bottom:14px;background:#f5f7f9;color:#16394d}
.ux-stage-disclosure code{overflow-wrap:anywhere}
@media (max-width:1020px){.ux-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.ux-route-grid,.ux-product-grid,.ux-future-grid{grid-template-columns:1fr}.ux-free-bar{grid-template-columns:1fr;padding:23px 20px}.ux-routes-wrap{padding-top:28px;padding-bottom:27px}.ux-route-head h2{font-size:1.65rem}.ux-route-card{padding:21px}.ux-product-thumb{aspect-ratio:16/9}.ux-feature-products{margin-bottom:32px}.ux-product-body{padding:19px}.ux-solutions-hub{padding-top:34px}}
@media (prefers-reduced-motion:reduce){.ux-product-card,.ux-route-card{scroll-behavior:auto}}


/* Dishantra consolidated observation fixes — responsive product previews */
.ux-product-thumb{
  aspect-ratio:auto;
  height:auto;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  background:#f3f6f8;
}
.ux-product-thumb img{
  width:100%;
  height:auto;
  max-height:340px;
  object-fit:contain;
}
@media (max-width:850px){
  .ux-feature-products{margin:8px 0 28px}
  .ux-product-grid{grid-template-columns:1fr;gap:18px}
  .ux-product-thumb{padding:10px}
  .ux-product-thumb img{max-height:none;width:100%;height:auto;object-fit:contain}
  .ux-solutions-hub.section-space{padding-top:32px;padding-bottom:24px}
  .ux-solutions-intro{margin-bottom:18px}
}
@media (min-width:851px) and (max-width:1100px){
  .ux-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Readable, product-specific live previews: replace miniature collage screenshots. */
.ux-product-thumb.ux-live-preview{display:flex;flex-direction:column;justify-content:stretch;gap:0;min-height:280px;height:auto;aspect-ratio:auto;overflow:hidden;text-decoration:none;background:#f4f8f7;color:#183640;border:1px solid #d7e5e2;border-radius:14px;}
.ux-live-preview .preview-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 16px;background:#123b46;color:#fff;font-size:11px;font-weight:800;letter-spacing:.07em;}
.ux-live-preview .preview-content{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.8fr);gap:14px;padding:16px;flex:1;}
.ux-live-preview .preview-rail{display:flex;flex-direction:column;gap:10px;font-size:12px;color:#3c5960;}
.ux-live-preview .preview-rail b{font-size:11px;letter-spacing:.06em;color:#174c56;margin-bottom:3px;}
.ux-live-preview .preview-rail strong{background:#dff1ed;padding:9px;border-radius:7px;color:#13515a;}
.ux-live-preview .preview-main small,.ux-live-preview small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#087e79;}
.ux-live-preview h4{font-size:clamp(17px,2vw,22px);line-height:1.25;margin:8px 0 10px;color:#173943;}
.ux-live-preview p{font-size:13px;line-height:1.5;margin:8px 0;color:#3a555d;}
.ux-live-preview .preview-callout{padding:12px 14px;margin-top:12px;background:#dff2ee;border-left:4px solid #159b91;border-radius:7px;font-size:13px;line-height:1.45;font-weight:650;color:#17464e;}
.ux-live-preview .preview-foot{padding:10px 16px;background:#e6efed;color:#31555b;font-size:10px;font-weight:800;letter-spacing:.08em;}
.ux-live-preview .math-sheet{margin:14px;padding:16px;background:#fff;border:1px solid #dbe6e3;border-radius:9px;box-shadow:0 3px 12px #1836400d;}
.ux-live-preview .math-sheet h4{font-size:23px;margin:7px 0 14px;}
.ux-live-preview .math-sheet p{padding:10px 12px;background:#f0f7f5;border-radius:7px;font-size:13px;}
.ux-live-preview .math-sheet p b{display:block;color:#087e79;margin-bottom:4px;}
.ux-live-preview .math-answer{border:1px dashed #9bbab3;border-radius:6px;padding:9px 12px;color:#78918d;font-size:11px;margin:8px 0 12px;}
.ux-live-preview.maths-preview{background:#eaf3f1;}
.ux-live-preview.wedding-preview{display:grid;grid-template-columns:1fr 1fr;padding:14px;gap:12px;background:#fffaf0;}
.ux-live-preview .wedding-cover{padding:18px 14px;border-radius:9px;background:linear-gradient(145deg,#fff0c9,#ffe1dc 60%,#f6c8d8);display:flex;flex-direction:column;justify-content:center;text-align:center;min-height:245px;}
.ux-live-preview .wedding-cover h4{font-size:clamp(21px,2.4vw,29px);color:#8d315b;margin:15px 0;}
.ux-live-preview .wedding-cover p{font-weight:700;color:#65434e;}
.ux-live-preview .wedding-icons{margin-top:15px;padding:10px 5px;background:#fff8e8;border-radius:8px;font-size:10px;font-weight:800;color:#9a4d58;}
.ux-live-preview .wedding-task{padding:15px;border:1px solid #eadfce;border-radius:9px;background:#fff;align-self:center;}
.ux-live-preview .wedding-task h4{font-size:18px;color:#793b58;}
.ux-live-preview .wedding-task ul{padding-left:18px;margin:12px 0 0;font-size:12px;line-height:1.55;color:#4d4b48;}
.ux-product-body h3{font-size:clamp(19px,2vw,23px);line-height:1.25;}
.ux-product-body p{font-size:15px;line-height:1.6;}
@media(max-width:640px){.ux-product-thumb.ux-live-preview{min-height:0;} .ux-live-preview .preview-content{grid-template-columns:1fr;gap:10px;padding:13px;} .ux-live-preview .preview-rail{display:grid;grid-template-columns:1fr 1fr;font-size:11px;} .ux-live-preview .preview-main h4{font-size:20px;} .ux-live-preview .math-sheet{margin:10px;padding:13px;} .ux-live-preview.wedding-preview{grid-template-columns:1fr 1fr;padding:9px;gap:8px;} .ux-live-preview .wedding-cover,.ux-live-preview .wedding-task{padding:11px 9px;min-height:250px;} .ux-live-preview .wedding-cover h4{font-size:21px;} .ux-live-preview .wedding-task h4{font-size:16px;} .ux-live-preview .wedding-task ul{font-size:11px;padding-left:15px;} .ux-product-body h3{font-size:21px;} .ux-product-body p{font-size:15px;}}

/* Retain the original Little Wedding Explorer product artwork in the readable preview. */
.ux-live-preview .wedding-cover img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;object-position:center;border-radius:8px;margin:0 auto 10px;}
@media(max-width:640px){.ux-live-preview .wedding-cover img{max-height:180px;}}


/* Dishantra Solutions — mobile content readability correction, 15 Nov 2026 */
@media (max-width: 640px) {
  .ux-solutions-hub { padding-left: 16px; padding-right: 16px; }
  .ux-solutions-intro h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.12; }
  .ux-solutions-intro p { font-size: 17px; line-height: 1.6; }
  .ux-feature-products .section-head h2 { font-size: 25px; line-height: 1.22; }
  .ux-feature-products .section-head p { font-size: 16px; line-height: 1.55; }
  .ux-product-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ux-product-card { border-radius: 14px; }
  .ux-product-thumb.ux-live-preview { width: 100%; min-height: 0; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
  .ux-live-preview .preview-top { display: flex; flex-wrap: wrap; padding: 13px 14px; font-size: 12px; line-height: 1.45; }
  .ux-live-preview .preview-content { display: flex; flex-direction: column; gap: 14px; padding: 12px 4px; }
  .ux-live-preview .preview-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; line-height: 1.4; }
  .ux-live-preview .preview-rail b { grid-column: 1 / -1; font-size: 12px; }
  .ux-live-preview .preview-rail strong,
  .ux-live-preview .preview-rail span { padding: 9px 10px; border-radius: 7px; background: #fff; }
  .ux-live-preview .preview-main small,
  .ux-live-preview small { font-size: 12px; line-height: 1.4; }
  .ux-live-preview .preview-main h4 { font-size: 22px; line-height: 1.25; }
  .ux-live-preview .preview-main p,
  .ux-live-preview p { font-size: 16px; line-height: 1.55; }
  .ux-live-preview .preview-callout { font-size: 16px; line-height: 1.5; padding: 13px; }
  .ux-live-preview .preview-foot { font-size: 12px; line-height: 1.45; }
  .ux-live-preview .math-sheet { margin: 0; padding: 16px; }
  .ux-live-preview .math-sheet h4 { font-size: 23px; }
  .ux-live-preview .math-sheet p { font-size: 16px; line-height: 1.55; padding: 12px; }
  .ux-live-preview .math-answer { font-size: 14px; padding: 11px 12px; }
  /* Wedding preview retains the original artwork and stacks the activity below it. */
  .ux-live-preview.wedding-preview { display: flex; flex-direction: column; padding: 10px; gap: 12px; }
  .ux-live-preview .wedding-cover { min-height: 0; padding: 16px 14px; }
  .ux-live-preview .wedding-cover img { width: 100%; max-height: 300px; object-fit: contain; margin-bottom: 12px; }
  .ux-live-preview .wedding-cover h4 { font-size: 25px; line-height: 1.2; }
  .ux-live-preview .wedding-cover p { font-size: 16px; line-height: 1.5; }
  .ux-live-preview .wedding-icons { font-size: 12px; padding: 11px; }
  .ux-live-preview .wedding-task { padding: 16px; align-self: stretch; }
  .ux-live-preview .wedding-task h4 { font-size: 21px; line-height: 1.25; }
  .ux-live-preview .wedding-task p,
  .ux-live-preview .wedding-task ul { font-size: 16px; line-height: 1.6; }
  .ux-live-preview .wedding-task ul { padding-left: 21px; }
  .ux-product-body { padding: 18px; }
  .ux-product-body h3 { font-size: 23px; line-height: 1.25; }
  .ux-product-body p { font-size: 16px; line-height: 1.6; }
  .ux-product-facts, .ux-product-link { font-size: 15px; line-height: 1.5; }
  .ux-pathways { margin-top: 24px; }
  .ux-need-grid .hub-card h3 { font-size: 21px; }
  .ux-need-grid .hub-card p { font-size: 16px; line-height: 1.6; }
}


/* Homepage mobile final corrections — hero flow, trust and footer rhythm */
@media (max-width: 700px) {
  .home-purpose-card { display:grid !important; grid-template-columns:minmax(0,1fr) !important; height:auto !important; min-height:0 !important; overflow:visible !important; margin-bottom:0 !important; }
  .home-purpose-card > *, .home-purpose-card .featured { min-width:0; max-width:100%; }
  .home-insights { position:relative; clear:both; margin-top:24px !important; padding-top:24px !important; }
  .trust { padding:28px 18px 30px !important; margin-top:20px !important; }
  .trustgrid { margin-top:20px !important; gap:18px !important; }
  .site-footer { padding:26px 18px 18px !important; }
  .footer-grid { gap:18px !important; row-gap:16px !important; }
  .footer-grid section { margin:0 !important; padding:0 !important; }
  .footer-grid h2 { margin:0 0 8px !important; }
  .footer-grid a { margin:6px 0 !important; line-height:1.45 !important; }
  .copyright { margin-top:18px !important; }
}
