|
2 | 2 | Homepage sections. All selectors live under the marketing surface. |
3 | 3 | ════════════════════════════════════════════════════════════════════════ */ |
4 | 4 |
|
5 | | -/* ── Hero ────────────────────────────────────────────────────────────── */ |
| 5 | +/* ── Hero (asymmetric editorial split: copy left, mascot right) ───────── */ |
6 | 6 | .site-root .hero { |
7 | | - padding: clamp(56px, 5vw + 30px, 104px) 0 8px; |
| 7 | + padding: clamp(40px, 4vw + 24px, 84px) 0 16px; |
8 | 8 | } |
9 | | -.hero-inner { |
10 | | - text-align: center; |
11 | | - display: flex; |
12 | | - flex-direction: column; |
| 9 | +.hero-grid { |
| 10 | + display: grid; |
| 11 | + grid-template-columns: 1.08fr 0.92fr; |
| 12 | + gap: clamp(28px, 4vw, 60px); |
13 | 13 | align-items: center; |
| 14 | + min-height: min(74vh, 660px); |
14 | 15 | } |
15 | | -.hero-lens { |
16 | | - margin: 26px 0 6px; |
| 16 | +.hero-copy { |
17 | 17 | display: flex; |
18 | 18 | flex-direction: column; |
19 | | - align-items: center; |
20 | | - gap: 14px; |
| 19 | + align-items: flex-start; |
21 | 20 | } |
22 | | -.hero-lens-stage { |
23 | | - width: 116px; |
24 | | - height: 116px; |
25 | | - display: grid; |
26 | | - place-items: center; |
27 | | - border-radius: 28px; |
28 | | - color: var(--text-strong); |
29 | | - background: radial-gradient(120% 120% at 50% 0%, var(--surface-2), var(--surface)); |
30 | | - border: 1px solid var(--border-2); |
31 | | - box-shadow: 0 24px 70px -26px var(--accent-glow); |
| 21 | +.hero-aside { |
| 22 | + display: flex; |
| 23 | + justify-content: center; |
32 | 24 | } |
33 | 25 |
|
34 | | -/* Video mascot — framed "viewport" so the clip's neutral backdrop reads as an |
35 | | - intentional lens-port in both themes. */ |
| 26 | +/* Video mascot — framed "viewport", now a real focal asset on the right. */ |
36 | 27 | .hero-mascot { |
37 | | - margin: 24px 0 6px; |
38 | 28 | display: flex; |
39 | 29 | flex-direction: column; |
40 | 30 | align-items: center; |
41 | 31 | gap: 16px; |
42 | 32 | } |
43 | 33 | .hero-mascot-stage { |
44 | 34 | position: relative; |
45 | | - width: clamp(168px, 38vw, 236px); |
| 35 | + width: clamp(224px, 30vw, 324px); |
46 | 36 | aspect-ratio: 460 / 539; |
47 | | - border-radius: 28px; |
| 37 | + border-radius: 30px; |
48 | 38 | overflow: hidden; |
49 | 39 | background: #c2c3c8; |
50 | 40 | border: 1px solid var(--border-2); |
51 | | - box-shadow: 0 34px 80px -32px var(--accent-glow), var(--shadow-md); |
| 41 | + box-shadow: 0 40px 90px -34px var(--accent-glow), var(--shadow-md); |
52 | 42 | } |
53 | 43 | .hero-mascot-stage img, |
54 | 44 | .hero-mascot-stage video { |
|
72 | 62 | color: var(--muted); |
73 | 63 | font-style: italic; |
74 | 64 | min-height: 1.3em; |
75 | | - max-width: 42ch; |
| 65 | + max-width: 34ch; |
| 66 | + text-align: center; |
76 | 67 | } |
77 | 68 | .hero-title { |
78 | | - font-size: clamp(2.6rem, 1.1rem + 6vw, 5.4rem); |
| 69 | + font-size: clamp(2.5rem, 1rem + 5vw, 4.6rem); |
79 | 70 | font-weight: 800; |
80 | 71 | letter-spacing: -0.042em; |
81 | 72 | line-height: 0.98; |
82 | 73 | color: var(--text-strong); |
83 | | - margin: 8px 0 0; |
| 74 | + margin: 18px 0 0; |
| 75 | + text-align: left; |
84 | 76 | } |
85 | 77 | .hero-sub { |
86 | | - max-width: 60ch; |
87 | | - margin: 22px auto 0; |
88 | | - font-size: clamp(1.02rem, 0.92rem + 0.5vw, 1.28rem); |
| 78 | + max-width: 52ch; |
| 79 | + margin: 22px 0 0; |
| 80 | + font-size: clamp(1.02rem, 0.92rem + 0.4vw, 1.22rem); |
89 | 81 | color: var(--sub); |
90 | 82 | } |
91 | 83 | .hero-cta { |
92 | 84 | display: flex; |
93 | 85 | gap: 13px; |
94 | | - justify-content: center; |
| 86 | + justify-content: flex-start; |
95 | 87 | flex-wrap: wrap; |
96 | 88 | margin-top: 30px; |
97 | 89 | } |
|
100 | 92 | font: 600 12px/1.6 var(--mono); |
101 | 93 | letter-spacing: 0.04em; |
102 | 94 | color: var(--faint); |
103 | | - max-width: 56ch; |
| 95 | + max-width: 52ch; |
| 96 | +} |
| 97 | +@media (max-width: 880px) { |
| 98 | + .hero-grid { |
| 99 | + grid-template-columns: 1fr; |
| 100 | + gap: 6px; |
| 101 | + min-height: 0; |
| 102 | + } |
| 103 | + .hero-copy { |
| 104 | + align-items: center; |
| 105 | + } |
| 106 | + .hero-aside { |
| 107 | + order: -1; |
| 108 | + } |
| 109 | + .hero-title, |
| 110 | + .hero-sub, |
| 111 | + .hero-cta { |
| 112 | + text-align: center; |
| 113 | + } |
| 114 | + .hero-cta { |
| 115 | + justify-content: center; |
| 116 | + } |
| 117 | + .hero-sub, |
| 118 | + .hero-foot { |
| 119 | + margin-left: auto; |
| 120 | + margin-right: auto; |
| 121 | + } |
| 122 | + .hero-mascot-stage { |
| 123 | + width: clamp(190px, 52vw, 240px); |
| 124 | + } |
104 | 125 | } |
105 | 126 |
|
106 | 127 | /* ── Verdict demo ────────────────────────────────────────────────────── */ |
|
368 | 389 | padding: 5px 8px; |
369 | 390 | } |
370 | 391 |
|
371 | | -/* ── How it works ────────────────────────────────────────────────────── */ |
| 392 | +/* ── How it works (editorial numbered list, hairline dividers) ───────── */ |
372 | 393 | .steps { |
373 | | - margin: 32px 0 0; |
| 394 | + margin: 34px 0 0; |
374 | 395 | padding: 0; |
375 | 396 | list-style: none; |
376 | | - display: grid; |
377 | | - grid-template-columns: repeat(3, 1fr); |
378 | | - gap: 16px; |
| 397 | + display: flex; |
| 398 | + flex-direction: column; |
379 | 399 | } |
380 | 400 | .step { |
381 | | - padding: 26px 22px; |
382 | | - border-radius: 16px; |
383 | | - background: var(--bg-2); |
384 | | - border: 1px solid var(--border); |
| 401 | + display: grid; |
| 402 | + grid-template-columns: auto 1fr; |
| 403 | + gap: clamp(20px, 3vw, 44px); |
| 404 | + align-items: start; |
| 405 | + padding: clamp(22px, 3vw, 32px) 0; |
| 406 | + border-top: 1px solid var(--border); |
| 407 | +} |
| 408 | +.step:first-child { |
| 409 | + border-top: none; |
385 | 410 | } |
386 | 411 | .step-n { |
387 | | - font: 800 1.7rem/1 var(--sans); |
388 | | - letter-spacing: -0.02em; |
| 412 | + font-weight: 800; |
| 413 | + font-size: clamp(2rem, 1rem + 3vw, 3.4rem); |
| 414 | + line-height: 1; |
| 415 | + letter-spacing: -0.03em; |
| 416 | + min-width: 2.2ch; |
389 | 417 | } |
390 | | -.step h3 { |
391 | | - margin: 14px 0 8px; |
392 | | - font-size: 1.16rem; |
| 418 | +.step-body h3 { |
| 419 | + margin: 6px 0 8px; |
| 420 | + font-size: clamp(1.18rem, 1rem + 0.6vw, 1.5rem); |
393 | 421 | font-weight: 700; |
| 422 | + letter-spacing: -0.01em; |
394 | 423 | color: var(--text-strong); |
395 | 424 | } |
396 | | -.step p { |
397 | | - font-size: 0.92rem; |
| 425 | +.step-body p { |
| 426 | + font-size: 1rem; |
398 | 427 | color: var(--sub); |
| 428 | + max-width: 62ch; |
399 | 429 | } |
400 | 430 |
|
401 | 431 | /* ── Models & privacy ────────────────────────────────────────────────── */ |
|
545 | 575 | grid-template-columns: 1fr; |
546 | 576 | gap: 30px; |
547 | 577 | } |
548 | | - .steps { |
549 | | - grid-template-columns: 1fr; |
550 | | - } |
551 | 578 | } |
552 | 579 | @media (max-width: 560px) { |
553 | 580 | .bento { |
|
0 commit comments