-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
104 lines (87 loc) · 4.48 KB
/
Copy pathstyles.css
File metadata and controls
104 lines (87 loc) · 4.48 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
:root {
color-scheme: light;
--ink: #142433;
--ink-soft: #52616d;
--paper: #f8f6f0;
--card: #ffffff;
--line: #d9dedb;
--navy: #0b2942;
--sage: #b9d3c2;
--sage-deep: #24634a;
--amber: #f2b35d;
--focus: #146fad;
--shadow: 0 18px 50px rgba(11, 41, 66, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background:
radial-gradient(circle at 8% 4%, rgba(185, 211, 194, 0.52), transparent 27rem),
var(--paper);
color: var(--ink);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.55;
}
a { color: var(--sage-deep); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
button, input { font: inherit; }
:focus-visible {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.masthead { padding: 1.1rem 0; border-bottom: 1px solid rgba(11, 41, 66, 0.12); }
.masthead .shell { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.brand { color: var(--navy); font-weight: 800; letter-spacing: -0.025em; text-decoration: none; }
.privacy-note { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.hero { padding: clamp(3.5rem, 8vw, 7.5rem) 0 3rem; }
.eyebrow { color: var(--sage-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1 {
max-width: 16ch;
margin: 0.55rem 0 1rem;
color: var(--navy);
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2.65rem, 7vw, 5.8rem);
line-height: 0.98;
letter-spacing: -0.04em;
}
.lede { max-width: 67ch; margin: 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr); gap: 1.4rem; align-items: start; padding-bottom: 5rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: var(--shadow); }
.checklist { padding: clamp(1rem, 3vw, 1.7rem); }
.checklist h2, .result h2, .sources h2 { margin-top: 0; color: var(--navy); }
.decision { position: relative; display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.85rem; padding: 1rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.decision:first-of-type { border-top: 0; }
.decision input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--sage-deep); }
.decision strong { display: block; color: var(--navy); }
.decision small { display: block; margin-top: 0.2rem; color: var(--ink-soft); }
.result { position: sticky; top: 1rem; overflow: hidden; }
.result-top { padding: 1.45rem; background: var(--navy); color: white; }
.result-top .eyebrow { color: var(--sage); }
.score { display: block; margin: 0.35rem 0 0.15rem; font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 850; line-height: 1; }
.meter { --score: 0%; height: 0.55rem; margin-top: 1.2rem; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,0.18); }
.meter::before { content: ""; display: block; width: var(--score); height: 100%; border-radius: inherit; background: var(--amber); transition: width 180ms ease; }
.result-body { padding: 1.45rem; }
.status { margin: 0 0 0.55rem; color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.summary, .next { color: var(--ink-soft); }
.next { padding: 0.9rem 1rem; border-left: 4px solid var(--amber); background: #fff8ec; }
.actions { display: grid; gap: 0.65rem; margin-top: 1.1rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.9rem; padding: 0.72rem 1rem; border: 1px solid var(--navy); border-radius: 0.65rem; background: var(--navy); color: white; font-weight: 760; text-decoration: none; cursor: pointer; }
.button:hover { background: #123b5c; }
.button.secondary { background: transparent; color: var(--navy); }
.sources { margin-bottom: 5rem; padding: clamp(1.3rem, 4vw, 2.4rem); }
.sources p { max-width: 73ch; }
.sources ul { padding-left: 1.2rem; }
.sources li + li { margin-top: 0.55rem; }
.boundary { color: var(--ink-soft); font-size: 0.92rem; }
footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.9rem; }
@media (max-width: 820px) {
.workspace { grid-template-columns: 1fr; }
.result { position: static; }
.masthead .shell { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.meter::before { transition: none; }
}