feat(ui): update typography to Inter, adjust hero headline size, reduce section spacing, and remove how-it-works section

This commit is contained in:
2026-11-16 18:29:09 +05:30
parent d37f3c0a5b
commit d3591ddb11
23 changed files with 128 additions and 123 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
: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 { 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, 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; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
+5 -1
View File
@@ -38,6 +38,10 @@
-webkit-perspective: 1000px !important;
}
.font-poppins, .font-inter {
font-family: var(--font-inter), 'Inter', sans-serif !important;
}
@layer base {
:root {
--color-primary: var(--color-accent);
@@ -101,7 +105,7 @@
outline-offset: 2px;
}
h1, h2, h3, h4, .font-display {
h1, h2, h3, h4, h5, h6, .font-display {
font-family: var(--font-display);
color: var(--color-ink);
letter-spacing: var(--tracking-display);
+1 -1
View File
@@ -15,7 +15,7 @@ const poppinsFont = Poppins({
const interFont = Inter({
subsets: ['latin'],
weight: ['300', '400', '500', '600', '700'],
weight: ['300', '400', '500', '600', '700', '800', '900'],
variable: '--font-inter',
display: 'swap',
});
+1 -1
View File
@@ -16,7 +16,7 @@
--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: "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;
--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);