File size: 6,035 Bytes
187ef74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
/* Auth surfaces: full-bleed photo + one centered white card, matching the
   captured /signin (source-current/2026-08-08/signin). */

.auth-page {
  min-height: 100vh;
  margin: 0;
  background-color: var(--eds-ui-900);
  background-image: url("/static/assets/source-current/2026-08-08/signin/signin-background-hero.jpg");
  background-size: cover;
  background-position: center calc(50% + 20px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 114px 16px 72px;
}
.auth-card {
  width: 100%;
  max-width: 471px;
  background: #fff;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  min-height: 713px;
  font-family: "Founders Grotesk R", var(--font-body);
}
.auth-card .brand { margin-bottom: 47px; }
.auth-brand-image { display: block; width: 125px; height: 20px; }
.auth-heading {
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  color: var(--eds-ui-800);
  margin-bottom: 37px;
  transform: translateY(-5px);
}
.auth-alert {
  border: 1px solid var(--eds-error);
  border-radius: var(--radius-btn);
  background: #fdf2f4;
  color: var(--eds-error);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}
.auth-alert p { margin: 0; }
.auth-form .eds-btn { margin-top: 8px; }

/* The shared field primitive is restyled only at its outer box here. Keep
   its real input borderless so the sign-in capture has one 52px outline,
   not a nested input frame. */
.auth-card .auth-form .eds-field { margin-bottom: 40px; }
.auth-card .auth-form .eds-field__box {
  height: 52px;
  padding: 22px 12px 6px;
  border-color: #918d99;
  border-radius: 8px;
}
.auth-card .auth-form .eds-field__box input:not([type="hidden"]) {
  height: 21px;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.auth-card .auth-form .eds-btn { margin-top: 0; }

/* Two-step reveal (JS): step 2 and the submit start hidden; without JS
   everything is visible and the form posts normally. */
.auth-form.is-step-email [data-auth-step="password"],
.auth-form.is-step-email [data-auth-submit] { display: none; }
.auth-form.is-step-password [data-auth-continue] { display: none; }
.auth-form.is-step-email [data-auth-register-details],
.auth-form.is-step-email [data-auth-register-submit] { display: none; }
.auth-form.is-step-details [data-auth-register-continue] { display: none; }

.auth-card .eds-btn--lg {
  height: 44px;
  min-height: 44px;
  padding: 10px 20px;
  box-sizing: border-box;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--eds-ui-600);
  font-size: 14px;
  margin: 32px 0 30px;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--eds-border-light);
}
.auth-legal {
  font-size: 14px;
  line-height: 20px;
  color: var(--eds-ui-700);
  text-align: center;
  margin-bottom: 41px;
}
.auth-legal a { font-weight: 700; color: var(--eds-ui-blue); text-decoration: underline; }
.auth-social {
  display: flex;
  justify-content: center;
  gap: 68px;
  margin-bottom: 8px;
}
.auth-social__btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.auth-social__icon {
  display: block;
  width: 48px;
  height: 48px;
  box-sizing: content-box;
  border: 2px solid #d9d9d9;
  border-radius: 4px;
}
.auth-social__btn:hover .auth-social__icon { border-color: var(--eds-ui-500); }
.auth-social-note {
  text-align: center;
  font-size: 13px;
  color: var(--eds-ui-600);
}
.auth-links {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  transform: translateY(-8px);
}
.auth-links a { color: var(--eds-ui-blue); font-weight: 600; }

.auth-panel[data-auth-flow="register"] {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .auth-page {
    align-items: center;
    padding: 20px 16px 0;
    background-position: center center;
  }
  .auth-card {
    height: 696px;
    min-height: 696px;
    transform: translateY(10px);
  }
}

/* Secondary auth flows (register, OTP, reset, inbox) reuse the card. */
.auth-card .state-panel {
  border: 1px solid var(--eds-border-light);
  border-radius: var(--radius-btn);
  background: var(--eds-bg-surface);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}
.auth-card .state-panel p { margin: 0 0 4px; }
.auth-card .verification-code { font-size: 22px; letter-spacing: 0.2em; }
.auth-card .auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 4px;
}
.auth-card .auth-form input:not([type="hidden"]) {
  width: 100%;
  border: 1px solid var(--eds-border);
  border-radius: var(--radius-btn);
  font: inherit;
  padding: 12px;
}
.auth-card .auth-form input:focus {
  outline: none;
  border-color: var(--eds-ui-blue);
  box-shadow: 0 0 0 1px var(--eds-ui-blue);
}
.auth-card .auth-form button.cta,
.auth-card .auth-form [data-auth-send-code],
.auth-card .auth-form [data-auth-verify-code] {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--eds-primary-brand);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 14px;
  cursor: pointer;
}
.auth-card .auth-form button[disabled] { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 560px) {
  .auth-page {
    padding: 59px 20px 20px;
    background: #fff;
  }
  .auth-card {
    max-width: none;
    min-height: 770px;
  }
  .auth-card .brand { margin-bottom: 58px; }
  .auth-heading { margin-bottom: 28px; }
  .auth-card .auth-form .eds-field__box:focus-within {
    background: #77798a;
    border-color: #77798a;
    box-shadow: none;
  }
  .auth-card .auth-form .eds-field__box:focus-within .eds-field__label {
    visibility: hidden;
  }
  .auth-card .auth-form .eds-field__box:focus-within input {
    color: #fff;
  }
}