forked from majorphrase/SludgePlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
56 lines (56 loc) · 5.57 KB
/
Copy pathstyles.css
File metadata and controls
56 lines (56 loc) · 5.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
:root { --bg: #273640; --surface: #314650; --surface-soft: #3a535f; --text: #f3f7f4; --muted: #c4d0cc; --accent: #71a83a; --accent-strong: #9ac85b; --line: rgba(243,247,244,.16); --shadow: 0 20px 48px rgba(11,20,25,.24); color-scheme: dark light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.site-header, .hero, .section, .statement, .final, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; background: var(--accent); color: #fffaf5; border-radius: 9px; }
nav { display: flex; gap: 22px; font-size: .92rem; color: var(--muted); white-space: nowrap; }
nav a:hover, footer a:hover { color: var(--text); }
.hero { min-height: min(720px, calc(100dvh - 68px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 6vw, 88px); padding: 56px 0 68px; }
.eyebrow { margin: 0 0 14px; color: var(--accent-strong); font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.04; }
h1 { max-width: 11ch; margin-bottom: 20px; font-size: clamp(2.8rem, 5.2vw, 5.4rem); }
h2 { max-width: 15ch; margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3.4rem); }
.hero-copy > p:not(.eyebrow), .section-intro > p:last-child { max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; font-weight: 750; transition: transform .24s cubic-bezier(.16,1,.3,1), background .24s ease; }
.button:active { transform: translateY(1px) scale(.98); }
.primary { background: var(--accent); color: #fffaf5; }
.primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.secondary { border: 1px solid var(--line); color: var(--text); }
.secondary:hover { background: var(--surface); }
code { padding: 2px 6px; border-radius: 5px; background: rgba(245,245,239,.12); color: var(--text); font-family: Consolas, monospace; }
.hero-preview { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: var(--surface); }
.hero-preview img { display: block; width: 100%; height: auto; }
.statement { padding: 28px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.statement p { margin: 0; }
.section { padding: 100px 0; }
.section-intro { margin-bottom: 38px; }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: minmax(170px, auto); gap: 14px; }
.feature { padding: 26px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.feature-wide { grid-row: span 2; background: var(--surface-soft); }
.feature-accent { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.feature h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature p, .workflow-list span, .setup span { color: var(--muted); }
.workflow { background: color-mix(in srgb, var(--surface) 78%, var(--bg)); padding-inline: min(5vw, 64px); border-radius: 14px; }
.workflow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.workflow-list div { display: grid; gap: 7px; }
.workflow-list strong { color: var(--accent-strong); }
.setup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.setup ol { margin: 0; padding-left: 22px; display: grid; gap: 18px; }
.setup li { padding-left: 8px; }
.setup li strong, .setup li span { display: block; }
.final { margin-bottom: 60px; padding: clamp(44px, 7vw, 84px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.final h2 { max-width: 13ch; }
.final .button { margin-bottom: 13px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible { animation: rise .6s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (prefers-color-scheme: light) { :root { --bg: #f1f5ef; --surface: #ffffff; --surface-soft: #e5ece2; --text: #273640; --muted: #57696a; --line: rgba(39,54,64,.16); --shadow: 0 18px 40px rgba(39,54,64,.12); } code { background: rgba(39,54,64,.08); } }
@media (max-width: 767px) { .site-header, .hero, .section, .statement, .final, footer { width: min(100% - 32px, 1180px); } .site-header { height: 62px; } nav { display: none; } .hero { min-height: auto; grid-template-columns: 1fr; padding: 48px 0 60px; } h1 { max-width: 10ch; } .feature-grid, .workflow-list, .setup { grid-template-columns: 1fr; } .feature-wide { grid-row: auto; } .section { padding: 68px 0; } .workflow { padding-inline: 24px; } footer { align-items: flex-start; flex-direction: column; } }