/* Shared customer experience. Neutral surfaces leave the content in charge. */
:root {
  --jg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --jg-ink: #17212f;
  --jg-muted: #4b586b;
  --jg-blue: #003478;
  --jg-line: #dde2e8;
  --jg-wash: #f4f6f8;
}
html, body { background: #f7f8fa !important; color: var(--jg-ink); font-family: var(--jg-font) !important; }
.jg-app-shell { font-family: var(--jg-font); }
.jg-app-shell :is(button, input, select, textarea) { font-family: inherit; }
.jg-app-shell :is(h1, h2, h3) { font-family: var(--jg-font) !important; letter-spacing: -.035em; }
.jg-app-shell h1 { font-size: clamp(30px, 3.7vw, 44px) !important; line-height: 1.15 !important; font-weight: 750 !important; }
.jg-page { padding-top: 36px; }
.jg-page p { line-height: 1.65; font-weight: 400; }
.jg-header { background: #ffffffed !important; box-shadow: 0 1px 0 #142b4610 !important; }
.jg-header .jg-brand-row { padding-top: 12px !important; padding-bottom: 12px !important; }
.jg-quick-actions { gap: 0; margin-top: 0; border-bottom: 1px solid var(--jg-line); }
.jg-quick-actions > a { background: transparent; border: 0; border-radius: 0; font-weight: 600; min-height: 52px; }
.jg-quick-actions > a:hover { background: #eaf0f7; }
.jg-button { font-weight: 650; box-shadow: none; border-radius: 12px; }
.jg-button.secondary { border-color: #c9d4e2; }
.jg-eyebrow { font-size: 14px; letter-spacing: .045em; font-weight: 650; color: var(--jg-muted); }
.jg-hero {
  background: transparent; border: 0; border-radius: 0; overflow: visible;
  grid-template-columns: 1fr 1.03fr; gap: clamp(24px, 4vw, 50px); align-items: center;
  box-shadow: none; padding: 8px 0 16px;
}
.jg-hero-copy { padding: 12px 0; }
.jg-hero .jg-title { color: var(--jg-ink); font-size: clamp(36px, 4.5vw, 56px) !important; max-width: 12ch; margin-bottom: 20px; }
.jg-hero .jg-eyebrow { color: #42607f; }
.jg-hero p { color: var(--jg-muted); font-size: 18px; max-width: 36ch; margin-bottom: 22px; }
.jg-hero .jg-button { background: var(--jg-blue); border-color: var(--jg-blue); color: #fff; }
.jg-hero .jg-button.secondary { background: transparent; border-color: #bdcada; color: var(--jg-blue); }
.jg-hero .jg-button:hover { background: #0a4694; color: #fff; }
.jg-hero .jg-button.secondary:hover { background: #e8eff8; color: var(--jg-blue); }
.jg-hero-photo { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 10px 35px -24px #17212f66; }
.jg-hero-photo img { aspect-ratio: 1.54; width: 100%; height: auto; }
.jg-hero-photo figcaption { background: #fff; color: var(--jg-muted); padding: 18px 22px; font-size: 15px; }
.jg-hero-photo strong { color: var(--jg-ink); font-size: 22px; }
.jg-hero-photo figcaption a { color: var(--jg-blue) !important; }
.jg-paths { margin-top: 20px; border-radius: 16px; box-shadow: 0 3px 16px -12px #22334b30; }
.jg-path { padding: 25px 28px; }
.jg-path h2 { font-size: 21px; }
.jg-path p { margin-bottom: 3px; }
.jg-section { margin-top: 64px; }
.jg-story { gap: 48px; grid-template-columns: 260px 1fr; }
.jg-story blockquote { font-weight: 650; }
.jg-quotes { gap: 32px; }
.jg-quotes blockquote { font-size: 17px; }
.jg-store { border-radius: 18px; }
.jg-connect-head { margin-bottom: 28px; }
.jg-connect-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.jg-connect-grid > .jg-connect-card,
.jg-connect-grid > .jg-connect-card:first-child {
  display: flex; flex-direction: column; gap: 16px; align-items: stretch;
  padding: 24px; background: #fff; border: 1px solid var(--jg-line); border-radius: 18px;
}
.jg-connect-grid > .jg-connect-card:first-child > img { width: 64px; height: 72px; border-radius: 12px; }
.jg-connect-grid > .jg-connect-card + .jg-connect-card { border: 1px solid var(--jg-line); }
.jg-connect-grid > .jg-connect-card h2 { font-size: 23px; }
.jg-connect-grid > .jg-connect-card > .jg-button { margin-top: 0; }
.jg-connect-grid > .jg-connect-card > details { margin-top: 0; }
.jg-connect-grid > .jg-connect-card > details > summary { font-size: 15px; }
.jg-connect-actions { gap: 8px; }
.jg-connect-refer::before, .jg-connect-review::before { display: flex; align-items: center; height: 72px; font-size: 30px; color: var(--jg-blue); }
.jg-connect-refer::before { content: "↗" / ""; }
.jg-connect-review::before { content: "☆" / ""; }
.jg-help-assistant { border-radius: 14px; box-shadow: none; }
.jg-answer-search { background: transparent; border-color: var(--jg-line); }
.jg-topic-select { display: none; }
.jg-answer-row { border-color: var(--jg-line); background: #fff; }
.jg-answer-row:hover { border-color: #9aafc8; background: #fcfdff; }
.jg-visual-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
.jg-visual-topics > button { display: grid; grid-template-columns: 104px minmax(0,1fr) 20px; align-items: center; gap: 16px; padding: 14px; min-width: 0; border: 1px solid var(--jg-line); border-radius: 14px; background: #fff; color: var(--jg-ink); text-align: left; cursor: pointer; }
.jg-visual-topics > button:hover { border-color: #9ab1cd; background: #f8fbff; }
.jg-visual-topic-image { display: grid; place-items: center; height: 72px; overflow: hidden; border-radius: 8px; background: #101d2b; }
.jg-visual-topic-image img { width: 100%; height: 100%; object-fit: contain; }
.jg-visual-topics strong { display: block; font-size: 18px; line-height: 1.35; font-weight: 650; }
.jg-visual-topics small { display: block; margin-top: 4px; color: var(--jg-muted); font-size: 15px; line-height: 1.4; }
.jg-guide-visuals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0 0 28px; }
.jg-guide-visuals figure { min-width: 0; margin: 0; background: #f7f8fa; border: 1px solid var(--jg-line); border-radius: 12px; overflow: hidden; }
.jg-guide-visuals figure > a { display: grid; place-items: center; min-height: 120px; background: #e9edf2; }
.jg-guide-visuals img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.jg-guide-visuals figcaption { display: grid; gap: 8px; padding: 14px; color: var(--jg-muted); font-size: 14px; line-height: 1.5; }
.jg-guide-visuals figcaption strong { color: var(--jg-ink); font-size: 16px; }
.jg-guide-visuals figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jg-blue); }
.jg-guide-reader { box-shadow: 0 8px 32px -26px #17212f50; }
.jg-guide-reader p, .jg-guide-reader li { line-height: 1.7; }
.jg-faq-answer { margin: 0 0 24px; }
.jg-faq-answer p { white-space: pre-line; font-size: 17px; line-height: 1.7; }
.jg-service-workspace { border-color: var(--jg-line); background: #fff; }
.jg-service-choice[aria-pressed=true] { background: #eaf1fa; color: var(--jg-blue); }
.jg-video-grid { gap: 20px; }
.jg-video-card { border-color: var(--jg-line); box-shadow: none; }
.jg-video-card:hover { border-color: #a6b8ce; }
.jg-video-copy { padding: 18px; }
.jg-video-copy h3 { font-size: 19px; line-height: 1.35; }
.jg-app-shell > .jg-footer { max-width: 1092px; margin: 48px auto 0; padding: 28px 0 20px; }
.jg-footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.jg-footer-inner strong { font-size: 18px; color: var(--jg-ink); }
.jg-footer-inner p { margin: 6px 0; font-size: 15px; line-height: 1.5; }
.jg-footer-inner nav { display: grid; grid-template-columns: auto auto; gap: 0 32px; align-content: start; }
.jg-footer-inner a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.jg-footer-inner a:hover { text-decoration: underline; }
.jg-footer-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--jg-muted); }

/* Conversation first: no decorative cards or horizontal resource carousels. */
.jg-assistant-shade { background: #17212f55; backdrop-filter: blur(3px); }
.jg-assistant-dialog { width: min(100%, 620px); background: #fff; border-radius: 20px 0 0 20px; }
.jg-assistant-head { grid-template-columns: 44px minmax(0,1fr) 44px; padding: 16px 20px; gap: 12px; }
.jg-assistant-portrait { width: 44px; height: 48px; border-radius: 12px; }
.jg-assistant-identity h2 { font-size: 18px; font-weight: 700; }
.jg-assistant-identity p { display: none; }
.jg-assistant-identity > span { font-size: 14px; font-weight: 400; color: var(--jg-muted); line-height: 1.4; }
.jg-assistant-context { background: #f3f6fa; border-color: var(--jg-line); padding-left: 20px; padding-right: 20px; }
.jg-assistant-log { gap: 26px; padding: 24px 24px 28px; overflow-anchor: none; }
.jg-assistant-start { padding: 16px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.jg-assistant-start h3 { font-size: 28px; margin: 10px 0; }
.jg-assistant-start > p { line-height: 1.6; }
.jg-assistant-eyebrow { color: var(--jg-muted); font-weight: 600; letter-spacing: .06em; }
.jg-assistant-starters { gap: 10px; margin-top: 24px; }
.jg-assistant-starters button { min-height: 92px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; background: #f7f8fa; border-color: var(--jg-line); border-radius: 14px; }
.jg-assistant-starters button > span { display: none; }
.jg-assistant-starters strong { font-size: 17px; font-weight: 650; }
.jg-assistant-starters small { font-size: 15px; line-height: 1.4; }
.jg-assistant-turn { gap: 12px; animation: none; }
.jg-assistant-answer { display: block; max-width: 100%; }
.jg-assistant-answer > img { display: none; }
.jg-assistant-answer > div { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.jg-assistant-answer-label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--jg-muted); margin-bottom: 8px; }
.jg-assistant-prose { color: var(--jg-ink); font-size: 17px; line-height: 1.65; }
.jg-assistant-prose p { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 14px; font-weight: 400; white-space: pre-wrap; }
.jg-assistant-prose p:last-child { margin-bottom: 0; }
.jg-assistant-prose h3 { font-size: 18px; line-height: 1.4; margin: 20px 0 9px; font-weight: 700; }
.jg-assistant-prose h3:first-child { margin-top: 0; }
.jg-assistant-prose :is(ol,ul) { padding-left: 25px; margin: 10px 0 18px; }
.jg-assistant-prose li { padding-left: 4px; margin: 8px 0; }
.jg-assistant-prose li::marker { color: var(--jg-blue); font-weight: 650; }
.jg-assistant-prose strong { font-weight: 650; }
.jg-assistant-question p { background: #eef3f9; color: var(--jg-ink); max-width: 90%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-size: 17px; line-height: 1.55; font-weight: 400; }
.jg-assistant-resources { display: grid; gap: 8px; margin: 0; }
.jg-assistant-resource { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 76px; padding: 13px 15px; text-align: left; background: #f8f9fb; border: 1px solid var(--jg-line); border-radius: 12px; color: var(--jg-ink); cursor: pointer; }
.jg-assistant-resource:hover { border-color: #9ab1cd; background: #f0f5fc; }
.jg-assistant-resource:focus-visible { outline: 3px solid #1a6fd4; outline-offset: 3px; }
.jg-assistant-resource-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.jg-assistant-resource-copy strong { font-size: 16px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.jg-assistant-resource-kind { font-size: 13px; line-height: 1.4; color: var(--jg-muted); font-weight: 500; }
.jg-assistant-resource-label { font-size: 14px; line-height: 1.4; color: var(--jg-blue); font-weight: 500; }
.jg-assistant-resource-arrow { font-size: 20px; color: var(--jg-blue); }
.jg-assistant-resource-thumb { position: relative; flex: 0 0 80px; width: 80px; height: 60px; background: #dde4ee; border-radius: 8px; overflow: hidden; }
.jg-assistant-resource-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jg-assistant-resource-thumb > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: #fff; background: #0003; }
.jg-assistant-vehicle-rail { display: grid; gap: 10px; overflow: visible; margin: 0; padding: 0; }
.jg-assistant-vehicle { display: grid; grid-template-columns: 116px minmax(0,1fr); border-radius: 14px; box-shadow: none; }
.jg-assistant-vehicle > img { width: 116px; height: 100%; min-height: 120px; aspect-ratio: auto; object-fit: cover; }
.jg-assistant-vehicle > div { padding: 12px 14px; }
.jg-assistant-vehicle strong { font-size: 17px; font-weight: 650; }
.jg-assistant-vehicle span { font-size: 15px; line-height: 1.4; }
.jg-assistant-vehicle small { font-size: 14px; margin-bottom: 8px; }
.jg-assistant-vehicle button { background: #fff; font-weight: 600; margin-top: 3px; }
.jg-assistant-vehicle .jg-assistant-vehicle-ask { border: 0; font-size: 14px; background: transparent; }
.jg-assistant-actions { padding: 0; gap: 8px; }
.jg-assistant-actions button, .jg-assistant-actions button:first-child { background: #fff; color: var(--jg-blue); border: 1px solid #cad7e6; font-size: 15px; font-weight: 550; padding: 8px 13px; border-radius: 10px; }
.jg-assistant-sources { margin: 0; padding: 0; border: 0; }
.jg-assistant-sources summary { font-size: 14px; font-weight: 500; color: var(--jg-muted); }
.jg-assistant-sources summary::before { content: "+"; margin-right: 8px; font-size: 18px; }
.jg-assistant-sources[open] summary::before { content: "−"; }
.jg-assistant-compose { padding: 12px 20px max(12px,env(safe-area-inset-bottom,0px)); }
.jg-assistant-compose-tools { margin-bottom: 8px; }
.jg-assistant-compose-tools :is(a,button) { font-weight: 500; }
.jg-assistant-input-row textarea { background: #f7f8fa; border-color: #cad2dd; }
.jg-assistant-privacy summary { min-height: 36px; font-size: 13px; font-weight: 400; }
.jg-assistant-thinking > img { display: none; }

@media(max-width: 900px) {
  .jg-connect-grid { gap: 12px; }
  .jg-connect-grid > .jg-connect-card, .jg-connect-grid > .jg-connect-card:first-child { padding: 18px; }
  .jg-app-shell > .jg-footer { margin-left: 24px; margin-right: 24px; }
}
@media(max-width: 700px) {
  .jg-page { padding-top: 24px; }
  .jg-quick-actions > a { font-size: 14px; min-height: 52px; padding: 8px 5px; }
  .jg-hero { grid-template-columns: minmax(0,1fr) 96px; gap: 16px; padding: 0; align-items: start; }
  .jg-hero-copy { padding: 0; }
  .jg-hero .jg-title { font-size: clamp(30px, 7vw, 38px) !important; max-width: 13ch; margin-bottom: 14px; }
  .jg-hero .jg-eyebrow { font-size: 12px; line-height: 1.5; }
  .jg-hero p { font-size: 16px; margin-bottom: 18px; }
  .jg-hero-photo { border-radius: 14px; align-self: start; margin-top: 6px; }
  .jg-hero-photo img { width: 96px; height: 108px; aspect-ratio: auto; object-position: 89% center; }
  .jg-hero-photo figcaption { display: none; }
  .jg-hero .jg-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .jg-hero .jg-button { padding: 10px 12px; }
  .jg-paths { grid-template-columns: 1fr; margin-top: 24px; }
  .jg-path { padding: 20px; }
  .jg-path + .jg-path { border-left: 0; border-top: 1px solid var(--jg-line); }
  .jg-section { margin-top: 40px; }
  .jg-story { grid-template-columns: 112px minmax(0,1fr); gap: 20px; align-items: start; }
  .jg-story-photo img { height: 160px; }
  .jg-story blockquote { font-size: 23px; }
  .jg-connect-grid { grid-template-columns: 1fr; }
  .jg-connect-grid > .jg-connect-card, .jg-connect-grid > .jg-connect-card:first-child { padding: 22px; }
  .jg-connect-refer::before, .jg-connect-review::before { height: 40px; }
  .jg-connect-grid > .jg-connect-card:first-child > img { width: 56px; height: 64px; }
  .jg-visual-topics { gap: 10px; }
  .jg-visual-topics > button { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 12px; }
  .jg-visual-topics > button > span:last-child { display: none; }
  .jg-visual-topic-image { height: 72px; }
  .jg-visual-topics strong { font-size: 17px; }
  .jg-visual-topics small { font-size: 14px; }
  .jg-topic-select { display: grid; gap: 8px; font-size: 15px; font-weight: 600; margin: 0 0 22px; color: var(--jg-muted); }
  .jg-topic-select select { min-width: 0; width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #b9c8da; border-radius: 10px; background: #fff; color: var(--jg-ink); font-size: 16px; }
  .jg-answer-categories { display: none; }
  .jg-guide-visuals { grid-template-columns: 1fr; }
  .jg-footer-inner { display: block; }
  .jg-footer-inner nav { margin-top: 16px; gap: 0 16px; grid-template-columns: 1fr 1fr; }
}
@media(max-width: 640px) {
  .jg-assistant-dialog { border-radius: 0; width: 100%; }
  .jg-assistant-head { grid-template-columns: 38px minmax(0,1fr) 44px; padding: 12px; gap: 10px; }
  .jg-assistant-portrait { width: 38px; height: 44px; }
  .jg-assistant-identity h2 { font-size: 17px; line-height: 1.25; }
  .jg-assistant-identity > span { font-size: 13px; }
  .jg-assistant-log { padding: 20px 18px 24px; gap: 24px; }
  .jg-assistant-prose { font-size: 16px; }
  .jg-assistant-question p { font-size: 16px; }
  .jg-assistant-compose { padding-left: 14px; padding-right: 14px; }
  .jg-assistant-resource { padding: 12px; gap: 10px; }
  .jg-assistant-resource-thumb { flex-basis: 64px; width: 64px; height: 52px; }
  .jg-assistant-context { padding-left: 14px; padding-right: 14px; }
  .jg-assistant-vehicle { grid-template-columns: 88px minmax(0,1fr); }
  .jg-assistant-vehicle > img { width: 88px; }
  .jg-assistant-vehicle > div { padding: 10px; }
}
@media(max-width: 380px) {
  .jg-hero { grid-template-columns: minmax(0,1fr) 76px; gap: 12px; }
  .jg-hero-photo img { width: 76px; height: 120px; }
  .jg-story { grid-template-columns: 1fr; }
  .jg-story-photo { max-width: 150px; }
  .jg-assistant-log { padding-left: 14px; padding-right: 14px; }
}
@media(prefers-reduced-motion: reduce) {
  .jg-app-shell *, .jg-app-shell *::before, .jg-app-shell *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
