add global styling settings and refresh
This commit is contained in:
1 parent
ab9dfff33f
commit
41fa7ddf73
25 files changed
+2306
-269
No files matched your search
@@ -63,7 +63,7 @@
|
||||
font-size: 62px;
|
||||
line-height: 0.94;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
font-size: 42px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
font-size: 48px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
letter-spacing: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -448,3 +448,335 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.discovery-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 85% 6%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.discovery-shell {
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: 0 clamp(1rem, 3vw, 2.6rem) clamp(2rem, 5vw, 4.4rem);
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--theme-surface);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.discovery-topbar {
|
||||
padding: clamp(1rem, 2.2vw, 1.5rem) 0 clamp(0.8rem, 1.6vw, 1.1rem);
|
||||
}
|
||||
|
||||
.discovery-back-link,
|
||||
.discovery-primary-btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.discovery-hero {
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
gap: var(--gap-lg);
|
||||
padding: clamp(1rem, 3vw, 2rem) 0 var(--section-y-xs);
|
||||
}
|
||||
|
||||
.discovery-hero-copy {
|
||||
grid-column: 1 / span 7;
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
grid-column: 8 / -1;
|
||||
align-self: stretch;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
grid-auto-rows: minmax(7rem, 1fr);
|
||||
gap: var(--gap-xs);
|
||||
}
|
||||
|
||||
.discovery-mood-tile {
|
||||
grid-column: span 3;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--theme-border);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(1) {
|
||||
grid-column: span 6;
|
||||
aspect-ratio: 16 / 10;
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(4),
|
||||
.discovery-mood-tile:nth-child(5) {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(6) {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.discovery-mood-tile img {
|
||||
height: 100%;
|
||||
transition: transform var(--duration-slow) var(--ease-out);
|
||||
}
|
||||
|
||||
.discovery-mood-tile:hover img {
|
||||
transform: scale(1.035);
|
||||
}
|
||||
|
||||
.discovery-kicker,
|
||||
.discovery-label {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.discovery-hero-copy h1 {
|
||||
margin: clamp(0.85rem, 1.8vw, 1.2rem) 0 clamp(1.2rem, 2.5vw, 1.8rem);
|
||||
font-size: clamp(3rem, 7vw, 8.6rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.discovery-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.discovery-benefits {
|
||||
gap: var(--gap-sm);
|
||||
margin-top: clamp(2rem, 4vw, 3.4rem);
|
||||
}
|
||||
|
||||
.discovery-benefit {
|
||||
grid-template-columns: 2.2rem 1fr;
|
||||
gap: var(--gap-sm);
|
||||
padding-top: var(--gap-sm);
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.discovery-benefit-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border: 1px solid rgba(var(--theme-accent-rgb) / 0.45);
|
||||
border-radius: 999px;
|
||||
color: var(--theme-accent);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.discovery-benefit strong {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.discovery-benefit p,
|
||||
.discovery-product-copy p,
|
||||
.discovery-step-card p,
|
||||
.discovery-comparison-card p {
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.discovery-hero-actions {
|
||||
max-width: 36rem;
|
||||
margin-top: clamp(1.8rem, 3.8vw, 3rem);
|
||||
}
|
||||
|
||||
.discovery-primary-btn {
|
||||
border-radius: 999px;
|
||||
background: #111;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
.discovery-primary-btn:hover,
|
||||
.discovery-primary-btn:focus-visible {
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-included,
|
||||
.discovery-comparison-section,
|
||||
.discovery-steps-section {
|
||||
padding-top: var(--section-y-sm);
|
||||
}
|
||||
|
||||
.discovery-section-heading {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
|
||||
gap: var(--gap-lg);
|
||||
align-items: end;
|
||||
margin-bottom: clamp(1.8rem, 4vw, 3.8rem);
|
||||
}
|
||||
|
||||
.discovery-section-heading h2 {
|
||||
margin: 0;
|
||||
font-size: clamp(2.2rem, 5.5vw, 6.2rem);
|
||||
line-height: 0.94;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.discovery-section-heading p {
|
||||
max-width: var(--text-measure);
|
||||
margin-top: var(--gap-sm);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.discovery-section-heading--center {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.discovery-products-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-product-card {
|
||||
gap: var(--gap-sm);
|
||||
padding: clamp(0.8rem, 1.4vw, 1rem);
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--theme-bg);
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.discovery-product-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.45);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-product-image {
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.discovery-product-image img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.discovery-product-copy h3 {
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.discovery-product-tags span {
|
||||
min-height: 34px;
|
||||
border-radius: 999px;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.discovery-steps-shell {
|
||||
padding: clamp(1.5rem, 5vw, 4rem);
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
radial-gradient(circle at 20% 0%, rgba(var(--theme-accent-rgb) / 0.2), transparent 24rem),
|
||||
#111;
|
||||
}
|
||||
|
||||
.discovery-steps-shell h2 {
|
||||
font-size: clamp(2.35rem, 5.5vw, 6rem);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.discovery-steps-grid {
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-step-card {
|
||||
padding: clamp(1rem, 2vw, 1.4rem);
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(255, 255, 255, 0.045);
|
||||
}
|
||||
|
||||
.discovery-step-number {
|
||||
border-radius: 999px;
|
||||
background: var(--theme-accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.discovery-comparison-grid {
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-comparison-card {
|
||||
padding: clamp(1.25rem, 3vw, 2.2rem);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.discovery-comparison-head h3 {
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.discovery-bottom-cta {
|
||||
max-width: 48rem;
|
||||
margin-top: var(--gap-lg);
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.discovery-hero {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.discovery-hero-copy,
|
||||
.discovery-mood-grid {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.discovery-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.discovery-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
|
||||
.discovery-section-heading {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-auto-rows: auto;
|
||||
}
|
||||
|
||||
.discovery-mood-tile,
|
||||
.discovery-mood-tile:nth-child(1),
|
||||
.discovery-mood-tile:nth-child(4),
|
||||
.discovery-mood-tile:nth-child(5),
|
||||
.discovery-mood-tile:nth-child(6) {
|
||||
grid-column: auto;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.discovery-products-grid,
|
||||
.discovery-steps-grid,
|
||||
.discovery-comparison-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.discovery-mood-grid {
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.discovery-primary-btn {
|
||||
padding-inline: 1rem;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
Reference in new issue
Block a user