Abid Ali Awan codex commited on
Commit
77d0206
·
1 Parent(s): 9162231

Fix AI safety callout layout

Browse files

Co-Authored-By: codex <codex@openai.com>

Files changed (2) hide show
  1. static/index.html +4 -1
  2. static/styles.css +11 -2
static/index.html CHANGED
@@ -30,7 +30,10 @@
30
  <p class="hero-text">Check suspicious bills, bank alerts, FBR-style messages, challans, courier notices, and SMS screenshots for common scam signals.</p>
31
  <div class="trust-note">
32
  <span class="shield" aria-hidden="true">✓</span>
33
- <p><strong>AI-assisted safety check.</strong> The AI reads the notice, identifies scam signals, and returns a structured risk assessment with safer next steps.</p>
 
 
 
34
  </div>
35
  </div>
36
  <div class="hero-image">
 
30
  <p class="hero-text">Check suspicious bills, bank alerts, FBR-style messages, challans, courier notices, and SMS screenshots for common scam signals.</p>
31
  <div class="trust-note">
32
  <span class="shield" aria-hidden="true">✓</span>
33
+ <p>
34
+ <strong>AI-assisted safety check</strong>
35
+ <span>The AI reads the notice, identifies scam signals, and returns a structured risk assessment with safer next steps.</span>
36
+ </p>
37
  </div>
38
  </div>
39
  <div class="hero-image">
static/styles.css CHANGED
@@ -67,9 +67,18 @@ h1, h2, h3, p { overflow-wrap: anywhere; }
67
  h1 { margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; }
68
  h1 span { color: #79d9a6; }
69
  .hero-text { margin: 24px 0; color: #d7e9df; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
70
- .trust-note { display: flex; gap: 12px; align-items: center; }
 
 
 
 
71
  .trust-note p { margin: 0; color: #c7ddd1; font-size: 14px; line-height: 1.55; }
72
- .shield { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(121,217,166,.15); color: #91e9ba; font-weight: 900; }
 
 
 
 
 
73
 
74
  .hero-image {
75
  display: grid; place-items: center;
 
67
  h1 { margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; }
68
  h1 span { color: #79d9a6; }
69
  .hero-text { margin: 24px 0; color: #d7e9df; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
70
+ .trust-note {
71
+ max-width: 680px; padding: 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr);
72
+ gap: 14px; align-items: start; border: 1px solid rgba(141,227,180,.2); border-radius: 16px;
73
+ background: rgba(0,35,21,.16);
74
+ }
75
  .trust-note p { margin: 0; color: #c7ddd1; font-size: 14px; line-height: 1.55; }
76
+ .trust-note strong, .trust-note p span { display: block; }
77
+ .trust-note strong { margin-bottom: 3px; color: #e6f5ed; font-size: 15px; }
78
+ .shield {
79
+ width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
80
+ background: rgba(121,217,166,.15); color: #91e9ba; font-weight: 900;
81
+ }
82
 
83
  .hero-image {
84
  display: grid; place-items: center;