feat(typography): apply SF Pro font globally and format Trust & Privacy header to 2 lines

This commit is contained in:
2026-11-17 10:49:55 +05:30
parent d3591ddb11
commit 28dd3beb90
9 changed files with 103 additions and 49 deletions
+2 -2
View File
@@ -18,8 +18,8 @@
"hi": "गोपनीयता नीति"
},
"subtitle": {
"en": "Effective Date: November 11, 2026. A legally binding commitment to ephemeral media processing, biometric privacy, and zero server storage.",
"hi": "प्रभावी तिथि: 11 नवंबर, 2026। अल्पकालिक मीडिया प्रोसेसिंग, बायोमेट्रिक गोपनीयता और शून्य सर्वर संग्रहण के लिए कानूनी प्रतिबद्धता।"
"en": "A legally binding commitment to ephemeral media processing, biometric privacy, and zero server storage.",
"hi": "अल्पकालिक मीडिया प्रोसेसिंग, बायोमेट्रिक गोपनीयता और शून्य सर्वर संग्रहण के लिए कानूनी प्रतिबद्धता।"
}
}
},
+4 -4
View File
@@ -14,12 +14,12 @@
"variant": "centered",
"props": {
"title": {
"en": "Trust, Security & Biometric Privacy Architecture",
"hi": "विश्वास, सुरक्षा और बायोमेट्रिक गोपनीयता वास्तुकला"
"en": "Trust, Security &\nBiometric Privacy Architecture",
"hi": "विश्वास, सुरक्षा और\nबायोमेट्रिक गोपनीयता वास्तुकला"
},
"subtitle": {
"en": "CRE Innovations operates on an uncompromising Zero-Retention, Volatile-RAM-Only foundation. Your photos, biometric landmarks, and creative assets are never stored on disk, never monetized, and never used to train artificial intelligence models.",
"hi": "हम शून्य-प्रतिधारण और केवल वोलेटाइल रैम सिद्धांत पर काम करते हैं। आपकी तस्वीरें कभी डिस्क पर संग्रहीत नहीं की जातीं और कभी एआई मॉडल प्रशिक्षण के लिए उपयोग नहीं होतीं।"
"en": "Zero photo retention with volatile RAM processing. Your biometric landmarks and photos are never stored on disk or used for AI training.",
"hi": "शून्य फोटो प्रतिधारण और वोलेटाइल रैम निष्पादन। आपकी तस्वीरें कभी डिस्क पर संग्रहीत नहीं की जातीं और कभी एआई प्रशिक्षण के लिए उपयोग नहीं होतीं।"
}
}
},
+2 -2
View File
@@ -18,8 +18,8 @@
"hi": "गोपनीयता नीति"
},
"subtitle": {
"en": "Effective Date: November 11, 2026. A legally binding commitment to ephemeral media processing, biometric privacy, and zero server storage.",
"hi": "प्रभावी तिथि: 11 नवंबर, 2026। अल्पकालिक मीडिया प्रोसेसिंग, बायोमेट्रिक गोपनीयता और शून्य सर्वर संग्रहण के लिए कानूनी प्रतिबद्धता।"
"en": "A legally binding commitment to ephemeral media processing, biometric privacy, and zero server storage.",
"hi": "अल्पकालिक मीडिया प्रोसेसिंग, बायोमेट्रिक गोपनीयता और शून्य सर्वर संग्रहण के लिए कानूनी प्रतिबद्धता।"
}
}
},
+4 -4
View File
@@ -14,12 +14,12 @@
"variant": "centered",
"props": {
"title": {
"en": "Trust, Security & Biometric Privacy Architecture",
"hi": "विश्वास, सुरक्षा और बायोमेट्रिक गोपनीयता वास्तुकला"
"en": "Trust, Security &\nBiometric Privacy Architecture",
"hi": "विश्वास, सुरक्षा और\nबायोमेट्रिक गोपनीयता वास्तुकला"
},
"subtitle": {
"en": "CRE Innovations operates on an uncompromising Zero-Retention, Volatile-RAM-Only foundation. Your photos, biometric landmarks, and creative assets are never stored on disk, never monetized, and never used to train artificial intelligence models.",
"hi": "हम शून्य-प्रतिधारण और केवल वोलेटाइल रैम सिद्धांत पर काम करते हैं। आपकी तस्वीरें कभी डिस्क पर संग्रहीत नहीं की जातीं और कभी एआई मॉडल प्रशिक्षण के लिए उपयोग नहीं होतीं।"
"en": "Zero photo retention with volatile RAM processing. Your biometric landmarks and photos are never stored on disk or used for AI training.",
"hi": "शून्य फोटो प्रतिधारण और वोलेटाइल रैम निष्पादन। आपकी तस्वीरें कभी डिस्क पर संग्रहीत नहीं की जातीं और कभी एआई प्रशिक्षण के लिए उपयोग नहीं होतीं।"
}
}
},
+1 -1
View File
@@ -6,7 +6,7 @@ body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
h1 { max-width: none; font-size: var(--text-display); } h2 { max-width: none; font-size: var(--text-section); } h3 { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
+8 -4
View File
@@ -4,6 +4,7 @@
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · elegant porcelain cream light studio with sapphire and indigo accents, smooth rounded pill geometry */
@import url("./tokens.css");
@import url("./base.css");
@import url("https://fonts.cdnfonts.com/css/sf-pro-display");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500&display=swap");
@tailwind base;
@@ -38,8 +39,8 @@
-webkit-perspective: 1000px !important;
}
.font-poppins, .font-inter {
font-family: var(--font-inter), 'Inter', sans-serif !important;
.font-sf, .font-poppins, .font-inter, .font-display, .font-body, .font-sans {
font-family: var(--font-sf), "SF Pro Display", "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
@layer base {
@@ -52,8 +53,11 @@
--color-surface-card: var(--color-paper-hi);
--theme-radius: 24px;
--theme-max-width: 1440px;
--font-sans: var(--font-body);
--font-serif: var(--font-display);
--font-sf: "SF Pro Display", "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--font-sans: var(--font-sf);
--font-body: var(--font-sf);
--font-serif: var(--font-sf);
--font-display: var(--font-sf);
}
html, body {
+4 -3
View File
@@ -15,9 +15,10 @@
--color-accent: oklch(54% 0.24 260); --color-accent-hi: oklch(48% 0.26 265); --color-accent-soft: oklch(96% 0.02 260); --color-accent-ink: oklch(99.2% 0.006 85); --color-focus: oklch(54% 0.24 260);
--color-gold: oklch(76% 0.16 75);
--color-dot: color-mix(in oklab, var(--color-ink) 10%, transparent); --color-mark: color-mix(in oklab, var(--color-ink) 25%, transparent);
--font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-body: var(--font-inter), "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-outlier: "Geist Mono", monospace;
--font-sf: "SF Pro Display", "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--font-display: var(--font-sf);
--font-body: var(--font-sf);
--font-outlier: "SF Pro Display", "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
--radius-card: 24px; --radius-pill: 9999px; --rule-hair: 1px;
--shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.05);
--shadow-sheet: 0 20px 45px -15px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(15, 23, 42, 0.06);
+71 -23
View File
@@ -201,6 +201,11 @@ export function HeroSection({
const resolvedTitle = resolveLocalised(title, locale) || 'Creative studio';
const resolvedSubtitle = resolveLocalised(subtitle, locale);
const isTrustOrPrivacy =
resolvedTitle.toLowerCase().includes('trust') ||
resolvedTitle.toLowerCase().includes('privacy') ||
resolvedTitle.toLowerCase().includes('security');
return (
<section className="relative pt-24 sm:pt-28 pb-16 sm:pb-20 text-center bg-paper border-b border-rule overflow-hidden">
{/* Layered Studio Lighting Ambient Glow */}
@@ -216,25 +221,37 @@ export function HeroSection({
{/* Layered Light Rays */}
<LightRays className="opacity-40" />
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6 relative z-10">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6 relative z-10">
<BlurFade delay={0.06}>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-paper-hi border border-rule text-xs font-body text-ink shadow-xs">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" />
<span className="font-semibold text-accent">Studio Neural Directory</span>
<span className="font-semibold text-accent">
{isTrustOrPrivacy ? 'Security & Biometric Architecture' : 'Studio Neural Directory'}
</span>
<span className="w-1 h-1 rounded-full bg-muted/40" />
<span className="text-muted">Direct browser trials</span>
<span className="text-muted">
{isTrustOrPrivacy ? 'Zero photo retention' : 'Direct browser trials'}
</span>
</div>
</BlurFade>
<BlurFade delay={0.12}>
<h1 className="text-3xl sm:text-5xl lg:text-6xl font-display font-extrabold text-ink tracking-tight text-balance">
<KineticText>{resolvedTitle}</KineticText>
<h1 className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-display font-extrabold text-ink tracking-tight max-w-4xl mx-auto leading-[1.12]">
{resolvedTitle.includes('\n') ? (
resolvedTitle.split('\n').map((line, idx) => (
<span key={idx} className="block">
<KineticText>{line.trim()}</KineticText>
</span>
))
) : (
<KineticText>{resolvedTitle}</KineticText>
)}
</h1>
</BlurFade>
{resolvedSubtitle && (
<BlurFade delay={0.18}>
<p className="text-sm sm:text-base lg:text-lg text-ink-2 font-body max-w-xl mx-auto leading-relaxed text-pretty">
<p className="text-sm sm:text-base lg:text-lg text-ink-2 font-body max-w-2xl mx-auto leading-relaxed text-pretty">
{resolvedSubtitle}
</p>
</BlurFade>
@@ -243,28 +260,59 @@ export function HeroSection({
{/* Studio Capability Highlights */}
<BlurFade delay={0.22}>
<div className="pt-1 flex flex-wrap items-center justify-center gap-2 text-xs font-body text-muted">
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Sparkles className="w-3.5 h-3.5 text-accent" />
<span>12 neural models</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" />
<span>Zero server storage</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Zap className="w-3.5 h-3.5 text-amber-500" />
<span>Live comparison sliders</span>
</span>
{isTrustOrPrivacy ? (
<>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" />
<span>0-Second server retention</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>Volatile RAM only</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Sparkles className="w-3.5 h-3.5 text-accent" />
<span>Zero AI model training</span>
</span>
</>
) : (
<>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Sparkles className="w-3.5 h-3.5 text-accent" />
<span>12 neural models</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" />
<span>Zero server storage</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Zap className="w-3.5 h-3.5 text-amber-500" />
<span>Live comparison sliders</span>
</span>
</>
)}
</div>
</BlurFade>
<BlurFade delay={0.26}>
<div className="flex flex-wrap items-center justify-center gap-4 pt-2">
<RainbowButton href="#tools-catalog">
<span>Browse all tools</span>
<ArrowRight className="w-4 h-4 ml-1.5 inline" aria-hidden="true" />
</RainbowButton>
<InteractiveHoverButton text="Mobile apps suite" href="/apps" />
{isTrustOrPrivacy ? (
<>
<RainbowButton href="/tools">
<span>Explore Free AI Tools</span>
<ArrowRight className="w-4 h-4 ml-1.5 inline" aria-hidden="true" />
</RainbowButton>
<InteractiveHoverButton text="View Privacy Policy" href="/privacy" />
</>
) : (
<>
<RainbowButton href="#tools-catalog">
<span>Browse all tools</span>
<ArrowRight className="w-4 h-4 ml-1.5 inline" aria-hidden="true" />
</RainbowButton>
<InteractiveHoverButton text="Mobile apps suite" href="/apps" />
</>
)}
</div>
</BlurFade>
</div>
+7 -6
View File
@@ -12,12 +12,13 @@ const config: Config = {
theme: {
extend: {
fontFamily: {
display: ["var(--font-display)", "Geist", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
body: ["var(--font-inter)", "Inter", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
sans: ["var(--font-inter)", "Inter", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
inter: ["var(--font-inter)", "Inter", "-apple-system", "BlinkMacSystemFont", "sans-serif"],
mono: ["var(--font-inter)", "Inter", "ui-monospace", "monospace"],
poppins: ["var(--font-inter)", "Inter", "sans-serif"],
display: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
body: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
sans: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
sf: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "system-ui", "sans-serif"],
inter: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "sans-serif"],
mono: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "ui-monospace", "monospace"],
poppins: ["var(--font-sf)", "SF Pro Display", "SF Pro Text", "SF Pro", "-apple-system", "BlinkMacSystemFont", "sans-serif"],
},
colors: {
paper: "var(--color-paper)",