/* The second screen follows the hero's typography, palette, and wide field. */
.problem-section{display:block;padding-top:82px;padding-bottom:76px}
.problem-section .section-copy{max-width:var(--text-width);margin-inline:auto;padding-left:0}
.problem-section h2{font-size:48px;line-height:1.14;letter-spacing:-.03em;text-wrap:initial;margin:0}
.problem-section h2 span{font-size:40px;color:#c8c8c1;line-height:1.16}
.problem-section .section-copy p{font-size:18px;color:#c4c4bc;line-height:1.65;max-width:660px;margin-top:22px}
.intent-illustration{margin-top:42px;min-width:0}
.intent-headings,.intent-stage{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(56px,.65fr) minmax(0,1fr);column-gap:24px}
.intent-headings{margin-bottom:14px;align-items:center;font-size:11px;letter-spacing:.1em;color:#92928e}
.intent-headings>span:nth-child(2){grid-column:3;display:flex;justify-content:space-between;gap:8px}
.intent-headings small{font-size:11px;letter-spacing:0;color:#62625f;font-weight:400}
.intent-stage{height:184px;align-items:stretch}
.intent-prompts,.intent-results{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.intent-prompt,.intent-result{display:flex;align-items:center;gap:14px;min-width:0;border-radius:3px;padding:10px 14px}
.intent-prompt{background:#111110;border:1px solid #292928;color:#b9b9b2;font-size:14px;line-height:1.4}
.intent-phrase{min-width:0;overflow-wrap:break-word;text-wrap:pretty}
.intent-phrase[dir="rtl"]{unicode-bidi:isolate;text-align:right}
.intent-result{justify-content:space-between;background:#0c0c0b;color:#d4d4cc;font-size:15px;line-height:1.3}
.intent-result-copy{min-width:0}
.intent-topic{display:block;color:#858580;font-size:12px;margin-top:6px}
.intent-bricks{display:grid;grid-template-columns:repeat(3,19px);gap:4px;flex:none}
.intent-bricks i{display:block;width:19px;height:7px;border-radius:2px;background:var(--intent-tone,#81817f)}
.intent-flow{display:block;width:100%;height:100%;min-width:0;align-self:stretch}
.intent-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.intent-fallback{display:grid;gap:12px;font-size:14px}
.intent-fallback p{padding:12px;background:#111110;border-radius:3px}
[data-intent-visual="converge"] .intent-results{display:flex;align-items:center}
[data-intent-visual="converge"] .intent-result{width:100%;min-height:102px;background:#111110}
[data-intent-visual="converge"] .intent-bricks{grid-template-columns:repeat(3,23px);gap:5px}
[data-intent-visual="converge"] .intent-bricks i{width:23px;height:8px}
[data-intent-visual="field"] .intent-headings,
[data-intent-visual="field"] .intent-stage{grid-template-columns:minmax(0,1.15fr) minmax(72px,.9fr) minmax(0,1fr)}
[data-intent-visual="field"] .intent-prompt{background:transparent;border-color:transparent;padding-left:0}
[data-intent-visual="field"] .intent-result{background:transparent;padding-right:0}
[data-intent-visual="focus"] .intent-stage{height:148px;align-items:center}
[data-intent-visual="focus"] .intent-prompts,
[data-intent-visual="focus"] .intent-results{display:block}
[data-intent-visual="focus"] .intent-prompt,
[data-intent-visual="focus"] .intent-result{min-height:94px}
[data-intent-visual="focus"] .intent-prompt{font-size:16px}
[data-intent-visual="focus"] .intent-result{font-size:18px}
/* Moving prompt text resolves into the same small bricks as the hero. */
[data-intent-visual="lanes"] .intent-headings{grid-template-columns:53% 47%;column-gap:0}
[data-intent-visual="lanes"] .intent-headings>span:nth-child(2){grid-column:2}
[data-intent-visual="lanes"] .intent-stage{position:relative;display:block;isolation:isolate;overflow:hidden}
[data-intent-visual="lanes"] .intent-flow{position:absolute;inset:0;z-index:1;pointer-events:none}
[data-intent-visual="lanes"] .intent-prompts{position:absolute;inset:0 49% 0 0;display:block;overflow:hidden;z-index:2;mask-image:linear-gradient(to right,transparent,#000 2%,#000 97%,transparent)}
[data-intent-visual="lanes"] .intent-prompt{position:absolute;left:0;top:0;display:inline-flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 12px);padding:0;border:0;background:none;border-radius:0;font-size:15px;line-height:22px;will-change:transform,opacity;transform-origin:center}
[data-intent-visual="lanes"] .intent-phrase{white-space:normal;text-wrap:pretty}
[data-intent-visual="lanes"] .intent-results{position:absolute;inset:0 0 0 53%;z-index:0;gap:14px}
[data-intent-visual="lanes"] .intent-result{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-self:center;height:32px;gap:5px;padding:0;background:none;border-radius:0}
.intent-chip{display:inline-block;max-width:100%;padding:5px 9px;border-radius:3px;background:#bebebb;color:#090909;font-size:13px;line-height:1.2;white-space:nowrap;opacity:.9}
.intent-chip[data-tier="1"]{background:#81817f}
.intent-chip[data-tier="2"]{background:#444443;color:#e6e6de}
[data-intent-visual="lanes"] .intent-chip{display:flex;align-items:center;justify-content:center;flex:none;height:100%;white-space:normal;text-align:center;min-width:0}
[data-sort-style="morph"] .intent-result{gap:1px;border-radius:3px;overflow:hidden;width:max-content;max-width:100%}
[data-sort-style="morph"] .intent-chip{border-radius:0}
[data-sort-style="scan"] .intent-prompts{right:48.5%}
[data-sort-style="single"] .intent-results{grid-template-rows:1fr}
[data-sort-style="single"] .intent-result{height:40px}
[data-sort-style="single"] .intent-prompt{font-size:16px}
@media(max-width:1100px){
  .problem-section h2{font-size:43px}.problem-section h2 span{font-size:36px}
  .intent-headings,.intent-stage{column-gap:18px}
  .intent-bricks{grid-template-columns:repeat(3,14px)}.intent-bricks i{width:14px;height:5px}
}
@media(max-width:760px){
  .problem-section{padding-top:54px;padding-bottom:52px}
  .problem-section h2{font-size:36px}.problem-section h2 span{font-size:32px}
  .problem-section .section-copy p{font-size:17px;max-width:580px}
  .intent-illustration{margin-top:32px}
  .intent-headings,.intent-stage{grid-template-columns:minmax(0,1.25fr) 42px minmax(0,1fr);column-gap:10px}
  .intent-stage{height:208px}
  .intent-prompts,.intent-results{gap:10px}
  .intent-prompt,.intent-result{padding:10px;gap:9px;font-size:13px}
  .intent-bricks{grid-template-columns:repeat(2,13px);gap:3px}
  .intent-bricks i{width:13px;height:5px}.intent-bricks i:last-child{display:none}
  [data-intent-visual="field"] .intent-headings,[data-intent-visual="field"] .intent-stage{grid-template-columns:minmax(0,1.25fr) 70px minmax(0,1fr)}
  [data-intent-visual="converge"] .intent-result{display:block}
  [data-intent-visual="converge"] .intent-bricks{margin-top:15px;grid-template-columns:repeat(3,19px)}
  [data-intent-visual="converge"] .intent-bricks i{display:block;width:19px;height:7px}
  [data-intent-visual="lanes"] .intent-prompt{font-size:13px;gap:7px}
  [data-intent-visual="lanes"] .intent-result{gap:4px}
  .intent-chip{font-size:11px;padding:4px 7px}
}
@media(max-width:520px){
  .problem-section h2{font-size:32px}.problem-section h2 span{font-size:28px}
  .problem-section .section-copy p{font-size:16px;margin-top:19px}
  .intent-stage{height:226px}
  .intent-headings,.intent-stage{grid-template-columns:minmax(0,1.35fr) 24px minmax(0,1fr);column-gap:7px}
  .intent-headings{font-size:10px}.intent-headings small{display:none}
  .intent-prompt{flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:8px;font-size:12px}
  .intent-result{padding:8px;font-size:12px}
  .intent-result .intent-bricks{display:none}
  .intent-topic{font-size:11px}
  [data-intent-visual="field"] .intent-headings,[data-intent-visual="field"] .intent-stage{grid-template-columns:minmax(0,1.35fr) 44px minmax(0,1fr)}
  [data-intent-visual="focus"] .intent-stage{height:144px}
  [data-intent-visual="focus"] .intent-prompt{font-size:13px;min-height:110px}
  [data-intent-visual="focus"] .intent-result{font-size:14px;min-height:110px}
  [data-intent-visual="lanes"] .intent-prompt{font-size:12px;line-height:20px;gap:6px}
  .intent-chip{font-size:10px;padding:3px 5px;border-radius:2px}
  [data-intent-visual="lanes"] .intent-result{display:grid;grid-template-columns:.9fr 1.2fr 1.2fr;gap:3px;height:50px;width:100%}
  [data-intent-visual="lanes"] .intent-chip{padding-inline:3px;overflow-wrap:anywhere}
  [data-sort-style="morph"] .intent-result{gap:1px}
}
/* Scan variations share the same field dimensions and fixed row centers. */
[data-scan-profile] .intent-results{grid-template-rows:repeat(var(--scan-rows),minmax(0,1fr));gap:0}
[data-scan-profile] .intent-prompt{font-size:14px;line-height:18px;max-height:36px;overflow:hidden}
[data-scan-profile] .intent-result{height:30px;max-width:100%;width:max-content;gap:5px}
[data-scan-profile] .intent-chip{font-size:12px;padding:4px 8px;will-change:clip-path}
[data-scan-profile="layers"] .intent-chip[data-tier="0"]{background:#cccac3}
[data-scan-profile="ribbon"] .intent-results{right:12px}
[data-scan-profile="ribbon"] .intent-result{gap:1px;border-radius:3px;overflow:hidden}
[data-scan-profile="ribbon"] .intent-chip{border-radius:0}
[data-scan-profile="relay"] .intent-result{position:relative;display:block;width:100%}
[data-scan-profile="relay"]{--scan-gate:49.25%}
[data-scan-profile="relay"] .intent-prompts{right:calc(100% - var(--scan-gate))}
[data-scan-profile="relay"] .intent-results{left:calc(var(--scan-gate) + 1.5%)}
[data-scan-profile="relay"] .intent-labels{position:absolute;inset:0;display:flex;gap:5px;will-change:clip-path}
@media(max-width:760px){
  [data-scan-profile] .intent-prompt{font-size:12px;line-height:18px}
  [data-scan-profile] .intent-chip{font-size:11px;padding-inline:5px}
}
@media(max-width:520px){
  [data-scan-profile] .intent-result{height:40px;width:100%;gap:3px}
  [data-scan-profile] .intent-chip{font-size:10px;padding:3px;line-height:1.1}
  [data-scan-profile="ribbon"] .intent-result{gap:1px}
  [data-scan-profile="relay"] .intent-labels{display:grid;grid-template-columns:.9fr 1.2fr 1.2fr;gap:3px}
}
/* Phone lanes stay on one line. Topic and detail share the second chip,
   taking turns while the intent remains visible beside them. */
@media(max-width:600px){
  .problem-section[data-problem-layout] [data-scan-profile="relay"]{--scan-mobile:1;--scan-gate:43%;--diagram-height:280px}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-prompt{max-width:none;max-height:none;font-size:12px;line-height:18px}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-phrase{white-space:nowrap;text-wrap:nowrap}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-result{height:30px}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-result::before,
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-result::after{content:"";position:absolute;top:0;bottom:0;border-radius:2px;opacity:.9;pointer-events:none}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-result::before{left:0;width:60px;background:#bebebb}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-result::after{left:63px;right:0;background:#81817f}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-labels{z-index:1}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-labels{display:grid;grid-template-columns:60px minmax(0,1fr);grid-template-rows:30px;gap:3px}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-chip{font-size:12px;line-height:1.2;padding:3px;white-space:nowrap;overflow-wrap:normal;background:transparent;color:#090909}
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-chip[data-tier="1"],
  .problem-section[data-problem-layout] [data-scan-profile="relay"] .intent-chip[data-tier="2"]{grid-column:2;grid-row:1;will-change:clip-path}
}
