/* Reference-led diagnosis page: photography, illustrated steps, navy surfaces. */
.di-hero-visual { position:relative; isolation:isolate; overflow:hidden; max-width:none; min-height:310px; box-sizing:border-box; padding:20px 0 116px; margin-bottom:20px; }
.di-hero-photo { position:absolute; z-index:-3; top:0; right:0; width:73%; height:100%; object-fit:cover; object-position:right 42%; opacity:.98; }
.di-hero-visual::before { content:''; position:absolute; z-index:-2; inset:0; background:linear-gradient(90deg,#071525 0%,#071525 28%,#071525c9 45%,#07152500 72%),linear-gradient(0deg,#071525 0%,#07152500 40%); }
.di-hero-copy { position:relative; max-width:68%; }
.di-hero-copy .di-kicker { color:#ffb362; font-size:10px; letter-spacing:.13em; }
.di-hero-copy h1 { margin:12px 0; font-size:clamp(32px,4.2vw,52px); line-height:.99; letter-spacing:-.045em; color:#f5f9fc; }
.di-hero-copy h1 span { color:#ffac52; }
.di-hero-copy p { max-width:520px; color:#c3d2df; font:400 14px/1.6 system-ui,sans-serif; margin:0; }
.di-hero-signature { position:absolute; top:20px; right:20px; max-width:160px; transform:rotate(-9deg); color:#edf4f8; text-align:center; font:italic 23px/1.1 "Segoe Print","Comic Sans MS",cursive; }
.di-hero-signature::after { content:''; display:block; width:90px; height:3px; margin:9px auto 0; background:#ffad54; transform:rotate(-8deg); border-radius:50%; }
.di-visual-steps { position:absolute; left:0; bottom:10px; width:70%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; padding:0; margin:0; }
.di-visual-steps li { position:relative; display:flex; align-items:center; gap:8px; min-width:0; min-height:82px; padding:8px 10px; border:1px solid #35576e; border-radius:12px; background:linear-gradient(120deg,#0e2c41e6,#0b2234df); backdrop-filter:blur(8px); color:#eef6fc; box-sizing:border-box; }
.di-visual-steps li:not(:last-child)::after { content:'⇢'; position:absolute; right:-22px; top:30px; color:#92bbd4; font:500 20px/1 system-ui,sans-serif; }
.di-step-art { display:block; flex:0 0 64px; width:64px; height:64px; }
.di-step-art img { display:block; width:100%; height:100%; object-fit:contain; }
.di-visual-steps strong { display:block; font:700 11px/1.35 system-ui,sans-serif; color:#f4f8fc; }
.di-visual-steps small { display:block; margin-top:4px; font:400 10px/1.3 system-ui,sans-serif; color:#b2c9db; }
.di-step-number { position:absolute; top:6px; left:6px; display:grid; place-items:center; width:17px; height:17px; border-radius:50%; border:1px solid #ffc47b; background:#ff9b36; color:#10263a; font:800 10px/1 system-ui,sans-serif; z-index:1; }
.di-hero-benefits { position:absolute; right:0; bottom:10px; box-sizing:border-box; width:190px; padding:14px; margin:0; list-style:none; border:1px solid #34566e; border-radius:12px; background:#0d263be6; backdrop-filter:blur(8px); }
.di-hero-benefits li { display:flex; gap:8px; align-items:center; margin:6px 0; color:#e8f1f8; font:400 10px/1.4 system-ui,sans-serif; }
.di-hero-benefits li::before { content:'✓'; display:grid; place-items:center; width:14px; height:14px; flex:0 0 14px; border:1px solid #ffa944; border-radius:50%; color:#ffad54; font-size:10px; }
.di-layout { grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr); gap:20px; }
.di-panel,.di-aside { padding:24px; border-radius:14px; background:linear-gradient(130deg,#0d2538,#091e2e); border-color:#33526a; }
.di-heading { gap:14px; margin-bottom:16px; }
.di-heading > span { width:38px; height:38px; flex-basis:38px; border-radius:50%; background:#ffaf5414; color:#ffac52; font-size:12px; }
.diagnostic-page .di-heading h2 { margin:0 0 4px; font-size:18px; }
.di-heading p { font-size:11px; color:#afc4d5; }
.di-drop-visual { position:relative; display:flex; flex-direction:row; justify-content:space-between; align-items:center; gap:14px; padding:16px 20px; min-height:176px; border:1.5px dashed #567c95; border-radius:12px; background:#061b2b; }
.di-drop-visual > .di-upload-content { display:flex; flex-direction:column; justify-content:center; align-items:center; flex:1; gap:7px; min-width:0; width:auto; height:auto; border-radius:0; background:none; font-size:inherit; color:#e8f1f8; }
.di-upload-symbol { display:grid; place-items:center; width:50px; height:50px; border-radius:50%; background:#16354b; color:#eef7ff; }
.di-upload-symbol svg { width:28px; height:28px; }
.di-drop-visual strong { color:#eef4fa; font:650 11px/1.4 system-ui,sans-serif; }
.di-drop-visual .di-upload-content > small { color:#9fb8cb; font:400 9px/1.5 system-ui,sans-serif; }
.di-upload-cta { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:6px 18px; margin-top:3px; border-radius:999px; background:#ff9f3d; color:#112b40; font:800 10px/1.3 system-ui,sans-serif; }
.di-drop-visual > .di-example-photos { position:relative; display:block; flex:0 0 32%; width:32%; height:auto; max-width:205px; padding:0; border-radius:0; background:none; }
.di-example-photos img { width:100%; height:auto; display:block; object-fit:contain; }
.di-drop-visual .di-example-photos > small { position:absolute; top:-8px; right:-8px; width:80px; transform:rotate(-9deg); color:#eaf3f8; font:italic 12px/1.15 "Segoe Print",cursive; text-align:center; text-shadow:0 1px 4px #061827; }
.di-example-photos > small > span { display:block; color:#ffad54; font-size:29px; }
.di-problem-heading { margin-top:22px; }
.di-description-field { margin-top:0; }
.di-description-field textarea { min-height:96px; font-size:13px; background:#071b2a; }
.di-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.di-aside-visual { position:relative; overflow:hidden; padding:22px 18px 20px; }
.di-info-symbol { position:absolute; top:14px; left:12px; display:block; width:48px; height:48px; }
.di-info-symbol img,.di-bulb img { width:100%; height:100%; object-fit:contain; display:block; }
.di-bulb { position:absolute; top:8px; right:0; width:82px; height:82px; opacity:.95; }
.di-aside-visual > .di-kicker { display:block; padding-right:36px; margin-left:46px; font-size:8px; line-height:1.5; }
.diagnostic-page .di-aside-visual h2 { margin:7px 30px 16px 46px; color:#f0f5fa; font-size:20px; line-height:1.14; }
.di-aside-visual > ul { list-style:none; padding:0 10px; margin:0 0 20px; }
.di-aside-visual > ul li { position:relative; padding-left:23px; margin:8px 0; color:#c2d2df; font:400 11px/1.5 system-ui,sans-serif; }
.di-aside-visual > ul li::before { content:'✓'; position:absolute; top:2px; left:0; display:grid; place-items:center; width:14px; height:14px; border-radius:50%; color:#10283b; background:#ffac52; font:800 10px/1 system-ui,sans-serif; }
.di-aside-visual .di-warning { border-color:#b07735; color:#ffd298; background:#ffb2550b; font-size:11px; line-height:1.5; padding:16px; }
.di-security { display:flex; align-items:flex-start; gap:12px; padding:13px; margin:10px 0 16px; border:1px solid #32536c; border-radius:10px; background:#122e45; }
.di-security > span { width:42px; height:42px; flex:0 0 42px; }
.di-security img { width:100%; height:100%; object-fit:contain; }
.di-security strong { color:#edf5fc; font:700 11px/1.4 system-ui,sans-serif; }
.di-security p { margin:4px 0 0; font-size:10px; line-height:1.5; color:#b4cbdc; }
.di-aside-visual > a { font-size:11px; }
@media(max-width:1000px) {
 .di-hero-copy { max-width:73%; }
 .di-hero-copy h1 { font-size:39px; }
 .di-hero-benefits { width:160px; }
 .di-visual-steps { width:73%; gap:14px; }
 .di-visual-steps li:not(:last-child)::after { right:-14px; font-size:14px; }
 .di-step-art { flex-basis:48px; width:48px; height:54px; }
 .di-visual-steps strong { font-size:10px; }
 .di-visual-steps small { font-size:9px; }
 .di-layout { grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); }
 .di-drop-visual { padding:16px 12px; }
}
@media(max-width:760px) {
 .diagnostic-page { padding-top:10px; }
 .di-hero-visual { display:flex; flex-direction:column; padding:16px 0 0; min-height:0; overflow:hidden; }
 .di-hero-copy { max-width:none; order:0; }
 .di-hero-copy h1 { font-size:clamp(28px,7.5vw,41px); line-height:1.05; }
 .di-hero-copy p { font-size:13px; }
 .di-hero-photo { position:relative; order:1; z-index:0; width:100%; height:auto; aspect-ratio:16/9; margin:10px 0 -4px; border-radius:12px; object-fit:cover; }
 .di-hero-visual::before { display:none; }
 .di-hero-signature { top:auto; bottom:102px; right:12px; z-index:1; font-size:17px; text-shadow:0 2px 4px #000; }
 .di-hero-benefits { display:none; }
 .di-visual-steps { position:relative; order:2; inset:auto; width:100%; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:14px; }
 .di-visual-steps li { flex-direction:column; justify-content:flex-start; gap:1px; min-height:126px; padding:8px 6px; text-align:center; border-radius:10px; }
 .di-visual-steps li:not(:last-child)::after { display:none; }
 .di-step-art { width:56px; height:56px; flex:0 0 56px; }
 .di-visual-steps strong { font-size:10px; }
 .di-visual-steps small { font-size:9px; line-height:1.35; }
 .di-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
 .di-panel,.di-aside { padding:18px; }
 .diagnostic-page .di-heading h2 { font-size:17px; }
 .di-heading { gap:10px; }
 .di-heading > span { width:32px; height:32px; flex-basis:32px; }
 .di-drop-visual { min-height:190px; padding:16px 10px; gap:8px; }
 .di-drop-visual > .di-example-photos { flex-basis:30%; width:30%; }
 .di-drop-visual .di-example-photos > small { top:-22px; right:-2px; width:62px; font-size:10px; }
 .di-drop-visual strong { font-size:11px; }
 .di-description-field textarea { font-size:16px; }
 .di-aside-visual > .di-kicker { font-size:9px; }
 .di-aside-visual > ul li,.di-aside-visual .di-warning { font-size:12px; }
 .di-security p { font-size:11px; }
}
@media(max-width:760px) {
 .di-hero-signature { bottom:155px; font-size:16px; }
 .di-drop-visual .di-upload-content > small { font-size:10px; }
}
/* Balanced upload area: keep text and examples aligned inside the border. */
.di-drop-visual { display:grid; grid-template-columns:minmax(0,1fr) 170px; justify-content:normal; align-items:center; gap:24px; min-height:220px; padding:24px; box-sizing:border-box; }
.di-drop-visual > .di-upload-content { width:100%; min-width:0; gap:10px; }
.di-upload-symbol { width:48px; height:48px; }
.di-drop-visual strong { max-width:330px; font-size:13px; line-height:1.45; text-wrap:balance; }
.di-drop-visual .di-upload-content > small { max-width:320px; font-size:10px; line-height:1.55; }
.di-upload-cta { min-height:38px; padding:9px 22px; margin-top:4px; font-size:12px; }
.di-drop-visual > .di-example-photos { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; width:100%; max-width:170px; min-width:0; height:auto; }
.di-drop-visual .di-example-photos > small { position:static; order:-1; width:auto; max-width:100%; transform:none; text-shadow:none; color:#bfd1de; font:500 11px/1.5 system-ui,sans-serif; }
.di-example-photos > small > span { display:none; }
.di-example-photos img { width:100%; max-height:138px; object-fit:contain; }
@media(min-width:601px) and (max-width:1100px) {
 .di-drop-visual { grid-template-columns:minmax(0,1fr) 120px; gap:14px; padding:20px 16px; }
 .di-drop-visual strong { font-size:12px; }
}
@media(max-width:600px) {
 .di-drop-visual { grid-template-columns:minmax(0,1fr); gap:18px; min-height:0; padding:22px 16px 16px; }
 .di-drop-visual strong { font-size:13px; }
 .di-drop-visual > .di-example-photos { flex-direction:row; justify-content:center; gap:16px; max-width:none; width:100%; padding-top:14px; border-top:1px solid #29475d; }
 .di-example-photos img { width:110px; height:82px; }
 .di-drop-visual .di-example-photos > small { order:0; max-width:110px; text-align:left; font-size:11px; }
}
/* Restore the handwritten example caption without returning it to the border. */
.di-drop-visual .di-example-photos > small { font:italic 15px/1.2 "Segoe Print","Comic Sans MS",cursive; color:#e8f2f9; }
.di-example-photos > small > span { display:block; margin-top:2px; color:#ffad54; font-size:25px; line-height:.9; }
@media(max-width:760px) {
 .di-hero-visual { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(370px,auto) auto; padding:0; border-radius:14px 14px 0 0; }
 .di-hero-photo { position:static; grid-area:1 / 1; z-index:0; width:100%; height:100%; min-height:370px; margin:0; aspect-ratio:auto; object-fit:cover; object-position:72% center; border-radius:14px; }
 .di-hero-visual::before { display:block; position:relative; grid-area:1 / 1; z-index:1; inset:auto; width:100%; height:100%; border-radius:14px; background:linear-gradient(90deg,#071525f5 0%,#071525e6 42%,#07152580 70%,#07152508 100%); pointer-events:none; }
 .di-hero-copy { grid-area:1 / 1; z-index:2; align-self:start; width:76%; max-width:330px; padding:24px 16px; box-sizing:border-box; }
 .di-hero-copy .di-kicker { font-size:8px; letter-spacing:.1em; }
 .di-hero-copy h1 { font-size:clamp(25px,6.5vw,34px); line-height:1.08; margin:12px 0; text-wrap:balance; }
 .di-hero-copy p { font-size:12px; line-height:1.6; color:#d2e0eb; text-shadow:0 1px 3px #071525; }
 .di-hero-copy p br { display:none; }
 .di-hero-signature { position:relative; grid-area:1 / 1; align-self:end; justify-self:end; inset:auto; margin:0 14px 24px 0; max-width:130px; z-index:2; font-size:18px; }
 .di-visual-steps { grid-area:2 / 1; order:initial; margin:14px 0 0; }
 .di-drop-visual .di-example-photos > small { font-size:14px; }
}
/* Clearer orientation and quote panels, in the same dark brand palette. */
.di-result,.di-panel[data-di-quote-section] { padding:clamp(20px,3vw,34px); background:linear-gradient(135deg,#102c3e,#0a1d2d); }
.di-result .di-heading,.di-panel[data-di-quote-section] > .di-heading { padding-bottom:20px; border-bottom:1px solid #36536880; margin-bottom:22px; }
.di-result-summary { max-width:85ch; margin:16px 0 24px; font-size:16px!important; line-height:1.8!important; }
.di-result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.di-result-card { min-width:0; padding:22px; border:1px solid #365368; border-radius:15px; background:#071a29a6; }
.di-result-card h3 { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-size:15px; }
.di-result-card h3::before { content:'?'; display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:9px; background:#ffab4b1c; color:#ffbc73; font-weight:800; }
.di-result-card:nth-child(2) h3::before { content:'✓'; background:#70d8bc16; color:#9de0c9; }
.di-result-card:nth-child(3) h3::before { content:'…'; background:#8bc5ff1a; color:#b2d8fa; }
.di-result-card ul { padding:0; margin:0; list-style:none; }
.di-result-card li { position:relative; padding-left:15px; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.di-result-card li + li { margin-top:13px; }
.di-result-card li::before { content:''; position:absolute; left:0; top:.7em; width:5px; height:5px; border-radius:50%; background:#698da3; }
.di-result-note { margin:22px 0 18px; border-radius:0 10px 10px 0; line-height:1.7!important; }
[data-urgency="urgent"] > .di-result-badge { color:#ffd1ca; background:#d54c3829; border:1px solid #ff9c8966; }
.di-result-next { font-size:13px; }
.di-panel[data-di-quote-section] .di-form-grid { gap:20px 24px; }
.di-panel[data-di-quote-section] .di-form-grid .di-field { margin-top:0; }
.di-panel[data-di-quote-section] .di-field input { min-height:52px; }
.di-panel[data-di-quote-section] .di-field :is(input,textarea) { background:#071a29c9; border-color:#3c5c71; transition:border-color .15s,box-shadow .15s; }
.di-panel[data-di-quote-section] .di-field :is(input,textarea):focus { border-color:#ffb66d; box-shadow:0 0 0 3px #ffb66d14; }
.di-panel[data-di-quote-section] .di-check { padding:15px; border-radius:11px; background:#071a2980; border:1px solid #36536880; }
.di-quote-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid #36536880; padding-top:22px; }
.di-quote-reassurance { display:grid; gap:6px; max-width:530px; }
.di-quote-reassurance strong { color:#eaf3fa; font-size:14px; }
.di-quote-reassurance span { color:#b9cddb; font-size:12px; line-height:1.6; }
.di-quote-footer .di-button { flex-shrink:0; }
#di-quote-title { scroll-margin-top:120px; }
@media(max-width:960px) { .di-result-grid { grid-template-columns:minmax(0,1fr); }.di-result-card { padding:20px; }.di-result-card li + li { margin-top:9px; } }
@media(max-width:760px) { .di-result-summary { font-size:15px!important; }.di-result .di-heading h2,.di-panel[data-di-quote-section] h2 { font-size:21px; }.di-quote-footer { flex-direction:column; align-items:stretch; gap:18px; }.di-panel[data-di-quote-section] .di-form-grid { gap:18px; }.di-result-card h3 { margin-bottom:14px; }.di-result-next { margin-top:2px; } }
/* Compact mobile hero: the signature shares the photo instead of adding height. */
@media(max-width:760px) {
 .di-hero-visual { grid-template-rows:minmax(300px,auto) auto; }
 .di-hero-photo { min-height:0; contain:size; object-position:72% center; }
 .di-hero-copy { width:78%; max-width:340px; padding:20px 16px 64px; }
 .di-hero-copy h1 { margin:10px 0; }
 .di-hero-copy p { margin:10px 0 0; line-height:1.5; }
 .di-hero-signature { max-width:140px; margin:0 14px 18px 0; font-size:15px; line-height:1.15; }
 .di-visual-steps { margin-top:12px; }
}
/* Mobile composition matching the supplied reference. */
.di-hero-actions { display:none; }
.di-hero-benefits strong,.di-hero-benefits small { display:block; }
.di-hero-benefits strong { font-size:10px; font-weight:700; }
.di-hero-benefits small { font-size:9px; color:#b2c9db; }
#di-photo-upload { scroll-margin-top:100px; }
@media(max-width:760px) {
 .di-hero-visual { grid-template-rows:minmax(285px,auto) auto auto; row-gap:0; }
 .di-hero-photo { object-position:80% center; }
 .di-hero-visual::before { background:linear-gradient(90deg,#061725ed 0%,#061725d9 34%,#06172565 57%,#06172500 80%),linear-gradient(0deg,#061725b3,transparent 42%); }
 .di-hero-copy { width:64%; max-width:290px; padding:20px 8px 68px; }
 .di-hero-copy .di-kicker { font-size:7px; letter-spacing:.1em; white-space:nowrap; }
 .di-hero-copy h1 { font-size:clamp(28px,8.1vw,38px); line-height:.98; text-wrap:initial; letter-spacing:-.045em; margin:10px 0; font-weight:900; }
 .di-hero-copy p { font-size:11px; line-height:1.4; margin-top:10px; }
 .di-hero-actions { display:flex; align-self:end; grid-area:1 / 1; z-index:3; gap:8px; margin:0 0 15px 8px; justify-self:start; }
 .di-hero-actions .di-button,.di-services-link { display:inline-flex; align-items:center; justify-content:center; gap:7px; width:auto; min-height:34px; box-sizing:border-box; padding:8px 10px; border-radius:9px; font:750 11px/1.2 system-ui,sans-serif; text-decoration:none; }
 .di-hero-actions .di-button { background:linear-gradient(135deg,#ffad45,#ff8c17); box-shadow:0 3px 14px #ff9d3022; }
 .di-hero-actions svg { width:17px; height:17px; }
 .di-services-link { color:#edf5fb; border:1px solid #56829d; background:#061725bd; }
 .di-hero-signature { margin:0 7px 18px 0; max-width:105px; font-size:14px; line-height:1.15; }
 .di-hero-signature::after { width:70px; height:2px; margin-top:6px; }
 .di-hero-benefits { display:grid; position:static; grid-area:2 / 1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; width:100%; padding:0; margin:8px 0 0; border:0; background:none; backdrop-filter:none; }
 .di-hero-benefits li { min-width:0; gap:5px; margin:0; padding:7px 5px; border:1px solid #294b61; border-radius:9px; background:#0b2334; }
 .di-hero-benefits li::before { width:16px; height:20px; flex-basis:16px; border:0; border-radius:5px; background:#ffab4b16; font-size:13px; }
 .di-hero-benefits li:first-child::before { content:'↗'; }
 .di-hero-benefits li:nth-child(2)::before { content:'≡'; }
 .di-hero-benefits strong { font-size:clamp(6px,1.8vw,9px); line-height:1.3; }
 .di-hero-benefits small { font-size:clamp(6px,1.6vw,8px); line-height:1.3; margin-top:2px; }
 .di-visual-steps { grid-area:3 / 1; margin-top:10px; gap:8px; }
 .di-visual-steps li { padding:9px 7px; min-height:125px; align-items:flex-start; text-align:left; }
 .di-step-art { align-self:center; height:54px; flex-basis:54px; }
 .di-step-number { width:21px; height:21px; font-size:12px; }
 .di-visual-steps strong { font-size:10px; }
 .di-visual-steps small { font-size:9px; }
}
@media(max-width:360px) {
 .di-hero-copy { width:65%; }
 .di-hero-copy h1 { font-size:27px; }
 .di-hero-actions { gap:5px; margin-left:6px; }
 .di-hero-actions .di-button,.di-services-link { font-size:10px; padding:8px; gap:5px; }
 .di-hero-signature { font-size:12px; max-width:88px; }
}
@media(max-width:760px) { .di-hero-copy h1 { max-width:6.4em; } }
/* Hide the compact benefits strip on mobile. */
@media(max-width:760px) {
 .di-hero-benefits { display:none; }
 .di-hero-visual { grid-template-rows:minmax(285px,auto) auto; }
 .di-visual-steps { grid-area:2 / 1; }
}
/* Wider hero buttons with the softer finish of the supplied reference. */
@media(max-width:760px) {
 .di-hero-actions { gap:9px; margin-left:8px; }
 .di-hero-actions .di-button,.di-hero-actions .di-services-link { min-height:36px; padding:9px 12px; border-radius:10px; font-size:11px; gap:8px; }
 .di-hero-actions .di-button { min-width:125px; background:linear-gradient(180deg,#ffb243 0%,#ff951e 100%); border:1px solid #ffc16a; box-shadow:0 0 13px #ff9d3038,inset 0 1px 0 #ffe0aa55; }
 .di-hero-actions .di-services-link { min-width:100px; border-color:#47718b; background:linear-gradient(180deg,#0c2333ed,#061622ed); box-shadow:inset 0 1px 0 #b6dcf31a; }
 .di-hero-actions .di-button svg { width:20px; height:20px; fill:currentColor; stroke-width:1.8; }
 .di-hero-actions .di-button svg circle { fill:#ffa630; stroke:#112b40; }
 .di-hero-actions a > span { font-size:19px; line-height:12px; font-weight:400; }
}
@media(max-width:360px) {
 .di-hero-actions { gap:7px; margin-left:6px; }
 .di-hero-actions .di-button { min-width:117px; }
 .di-hero-actions .di-services-link { min-width:94px; }
 .di-hero-actions .di-button,.di-hero-actions .di-services-link { padding:8px 10px; font-size:10px; gap:6px; }
 .di-hero-signature { margin-right:4px; max-width:80px; font-size:11px; }
}
/* Handwritten signature arranged in two lines like the reference. */
@media(max-width:760px) {
 .di-hero-signature { width:135px; max-width:135px; margin:0 4px 24px 0; font-size:15px; line-height:1.18; transform:rotate(-9deg); white-space:nowrap; text-shadow:0 1px 4px #0009; }
 .di-hero-signature::after { width:92px; height:2px; margin:7px auto 0; transform:rotate(-7deg); }
 .di-hero-actions { margin-bottom:14px; }
}
@media(max-width:390px) {
 .di-hero-signature { width:122px; max-width:122px; font-size:14px; margin-right:2px; margin-bottom:60px; }
 .di-hero-signature::after { width:85px; }
}
/* Align the signature beside the buttons on compact screens. */
@media(max-width:760px) {
 .di-hero-signature { margin-bottom:19px; margin-right:3px; width:110px; max-width:110px; font-size:13px; }
 .di-hero-signature::after { width:82px; margin-top:6px; }
 .di-hero-actions { gap:7px; margin-left:6px; }
 .di-hero-actions .di-button { min-width:117px; }
 .di-hero-actions .di-services-link { min-width:94px; }
 .di-hero-actions .di-button,.di-hero-actions .di-services-link { padding:8px 9px; gap:6px; font-size:10px; }
}
@media(max-width:360px) {
 .di-hero-signature { width:96px; max-width:96px; font-size:11px; margin-right:1px; }
 .di-hero-signature::after { width:72px; }
 .di-hero-actions { gap:6px; margin-left:4px; }
 .di-hero-actions .di-button { min-width:108px; }
 .di-hero-actions .di-services-link { min-width:86px; }
}
/* Compact photo-upload card and a recognizable solid camera icon. */
.di-upload-heading > span { flex-basis:38px; width:38px; height:38px; border-radius:10px; color:#092031; background:linear-gradient(145deg,#ffb951,#ff992a); box-shadow:0 3px 14px #ff9d3026; }
.di-upload-heading > span svg { width:24px; height:24px; }
.di-hero-actions .di-button svg { fill:none; stroke:none; }
.di-drop-visual { grid-template-columns:minmax(0,1fr); min-height:160px; padding:16px; background:radial-gradient(ellipse at center,#102f424d,transparent 70%),#061b2b; }
.di-drop-visual > .di-example-photos,.di-drop-visual .di-upload-cta { display:none; }
.di-drop-visual > .di-upload-content { gap:4px; }
.di-drop-visual .di-upload-symbol { width:48px; height:48px; margin-bottom:5px; background:#16364b; }
.di-drop-visual strong { font-size:13px; line-height:1.4; }
.di-upload-hint { color:#bdcfdd; font:400 12px/1.4 system-ui,sans-serif; }
.di-drop-visual .di-upload-content > small { display:inline-flex; max-width:none; align-items:center; padding:5px 12px; margin-top:5px; border:1px solid #294c63; border-radius:999px; background:#17364a; color:#bdd1de; font-size:10px; }
.di-drop-visual .di-upload-content > small::before { content:'▧'; margin-right:7px; font-size:13px; }
@media(max-width:760px) {
 .di-upload-heading { gap:13px; }
 .di-upload-heading > span { flex-basis:38px; width:38px; height:38px; }
 .di-upload-heading h2 { font-size:18px!important; }
 .di-upload-heading p { font-size:11px; line-height:1.4; }
 .di-drop-visual { min-height:155px; padding:10px 14px; gap:0; }
 .di-drop-visual strong { font-size:12px; }
 .di-drop-visual .di-upload-content > small { font-size:9px; }
}
.di-hero-actions .di-button svg circle { stroke:none; fill:#ffad43; }
.di-hero-actions .di-button svg circle:nth-of-type(2) { fill:currentColor; }
/* Slightly larger handwritten signature beside the hero actions. */
@media(max-width:760px) {
 .di-hero-signature { font-size:15px; width:120px; max-width:120px; margin-right:2px; }
 .di-hero-signature::after { width:90px; }
}
@media(max-width:360px) {
 .di-hero-signature { font-size:13px; width:104px; max-width:104px; margin-right:0; }
 .di-hero-signature::after { width:80px; }
}

/* Reference upload composition: example photos, real input and handwritten note. */
.di-drop.di-drop-reference { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(105px,.7fr); align-items:center; gap:14px; min-height:175px; padding:15px 18px; border:1px dashed #7d9aaf; border-radius:16px; background:radial-gradient(ellipse at 10% 0,#28425322,transparent 65%),#041a29; }
.di-drop-reference > .di-upload-content { grid-column:2; grid-row:1; order:1; }
.di-drop-reference > .di-example-photos { display:block; position:relative; grid-column:1; grid-row:1; order:0; width:100%; height:auto; max-width:none; padding:0; border:0; background:none; }
.di-drop-reference .di-example-photos img { display:block; width:100%; height:auto; max-height:145px; object-fit:contain; filter:drop-shadow(0 5px 8px #0004); }
.di-drop-reference .di-example-arrow { position:absolute; width:48px; height:29px; right:-25px; top:8px; color:#ff990d; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.di-drop-reference > .di-upload-note { display:grid; grid-template-columns:33px minmax(0,1fr); align-items:start; gap:4px 8px; grid-column:3; grid-row:1; order:2; width:auto; height:auto; padding:0; border:0; border-radius:0; background:none; color:#d8e6ee; transform:rotate(-7deg); text-align:left; font:italic 16px/1.25 "Segoe Print","Comic Sans MS",cursive; }
.di-drop-reference .di-note-camera { width:33px; height:29px; color:#ff990d; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.di-drop-reference .di-note-arrow { grid-column:1/3; width:59px; height:32px; margin-left:13px; color:#ff990d; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.di-drop-reference .di-upload-content > strong { font-size:13px; }
.di-drop-reference .di-upload-content > small { padding:4px 9px; font-size:9px; white-space:nowrap; }
.di-drop-reference.is-dragging { border-color:#ffc45a; background:#123347; box-shadow:0 0 0 3px #ffad431a; }
@media(max-width:600px) {
 .di-drop.di-drop-reference { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:8px 10px; padding:14px 12px 10px; min-height:0; }
 .di-drop-reference .di-example-photos img { max-height:125px; }
 .di-drop-reference .di-example-arrow { width:30px; right:-12px; top:0; }
 .di-drop-reference > .di-upload-note { display:flex; align-items:center; justify-content:center; gap:8px; grid-column:1/-1; grid-row:2; width:100%; margin-top:5px; transform:none; text-align:center; font-size:12px; }
 .di-drop-reference .di-upload-note br { display:none; }
 .di-drop-reference .di-upload-note br::after { content:' '; }
 .di-drop-reference .di-note-camera { width:22px; height:20px; }
 .di-drop-reference .di-note-arrow { display:none; }
 .di-drop-reference .di-upload-content > strong { font-size:11px; }
 .di-drop-reference .di-upload-hint { font-size:10px; }
 .di-drop-reference .di-upload-content > small { font-size:8px; padding:4px 6px; }
 .di-drop-reference .di-upload-symbol { width:37px; height:37px; }
}

/* Clear capabilities, amber warning and blue privacy panel. */
.di-aside.di-aside-reference { border-color:#365a70; border-radius:17px; background:radial-gradient(ellipse at top right,#19405255,transparent 60%),linear-gradient(145deg,#071e2e,#041724); box-shadow:inset 0 1px #ffffff08; }
.di-aside-reference > ul { margin-bottom:16px; padding:0 5px; }
.di-aside-reference > ul li { padding-left:28px; margin:10px 0; font-size:12px; line-height:1.55; color:#c9dbe6; }
.di-aside-reference > ul li::before { top:2px; width:18px; height:18px; font-size:12px; box-shadow:0 2px 7px #0003; }
.di-aside-reference > ul .di-photo-can::before { content:'✓'; background:#27cf80; color:#053326; }
.di-aside-reference > ul .di-photo-limit::before { content:'×'; background:#f17658; color:#3a130c; font-size:17px; }
.di-aside-reference .di-warning { display:flex; align-items:center; gap:12px; margin:0 0 14px; padding:13px 14px; border:1px solid #ed9a13; border-radius:13px; color:#ffc642; background:radial-gradient(ellipse at 12% 0%,#d9962426,transparent 62%),linear-gradient(120deg,#121e20,#061a24 75%); box-shadow:inset 0 1px 12px #ffc2470d,0 0 15px #e59a1309; font:650 11px/1.6 system-ui,sans-serif; }
.di-aside-reference .di-warning > svg { width:32px; height:32px; flex:0 0 32px; stroke:#ffad21; stroke-width:2.5; filter:drop-shadow(0 0 5px #ffb32122); stroke-linecap:round; stroke-linejoin:round; }
.di-aside-reference .di-security { align-items:flex-start; gap:12px; padding:14px 12px; margin:0 0 16px; border:1px solid #008cc3; border-radius:12px; background:linear-gradient(130deg,#06416944,#05243a); box-shadow:inset 0 1px #33b9ff10; }
.di-aside-reference .di-security > span { width:45px; height:45px; flex:0 0 45px; }
.di-aside-reference .di-security strong { color:#fff; font-size:12px; line-height:1.4; }
.di-aside-reference .di-security p { color:#b9d0df; font-size:11px; line-height:1.6; margin-top:5px; }
@media(max-width:760px) {
 .di-aside.di-aside-reference { padding:18px 14px; }
 .di-aside-reference > ul li { font-size:12px; }
 .di-aside-reference .di-warning { padding:12px; gap:10px; font-size:11px; }
 .di-aside-reference .di-warning > svg { width:28px; height:28px; flex-basis:28px; }
}
