forge
Explore
Log in

Don't you dare go Hollow

hezarfen_landing

Clone
★ 0

0 watching0 forksTypeScript581.6 KiB376fd39Burak Boduroğlu2 months ago4 commits

app.css949 lines, 20.6 KiBHistoryRawDownload
1@import "tailwindcss";
2
3/* =========================================================================
4 Hezarfen — light design system
5
6 A white page with one accent: gopher blue, #00ADD8. The surfaces are
7 Notion's: white paper, a warm off-white for every second band, hairline
8 rules instead of shadows, small radii, and type that is allowed to be
9 large because nothing else on the page is loud.
10
11 Everything is prefixed `hz-`. There is no dark contract and no `dark:`
12 variant to qualify — these tokens *are* the theme.
13 ========================================================================= */
14
15:root {
16 color-scheme: light;
17
18 /* Surfaces */
19 --paper: #ffffff;
20 --band: #f7f7f5; /* every second section, and card interiors on white */
21 --sunken: #f1f0ee; /* inputs, inner wells, illustration grounds */
22
23 /* Ink */
24 --ink: #1b1a17; /* headings */
25 --body: #37352f; /* body copy */
26 --muted: #787774; /* captions, labels, secondary rows */
27 --faint: #9b9a96; /* the quietest text that still has to be read */
28
29 /* Rules */
30 --line: #e9e9e7;
31 --line-strong: #dcdad5;
32
33 /* Accent: Go's cyan. Reserved for action, data and links. */
34 --brand: #00add8;
35 --brand-hover: #0097bd;
36 --brand-ink: #046b86; /* accent text on white, where #00add8 is too light */
37 --brand-wash: #eaf8fc; /* the tinted panel and hover fills */
38
39 --radius-sm: 4px;
40 --radius: 6px;
41 --radius-lg: 10px;
42 --radius-xl: 14px;
43
44 --shadow-sm: 0 1px 2px rgb(15 15 15 / 0.06);
45 --shadow: 0 1px 2px rgb(15 15 15 / 0.06), 0 6px 20px rgb(15 15 15 / 0.05);
46 --shadow-lg: 0 1px 2px rgb(15 15 15 / 0.06), 0 18px 48px rgb(15 15 15 / 0.08);
47
48 --measure: 1120px;
49 --gutter: 24px;
50 --section-y: 96px;
51 --header-h: 60px;
52
53 --ease: cubic-bezier(0.16, 1, 0.3, 1);
54 --quick: 160ms;
55}
56
57@theme inline {
58 --color-paper: var(--paper);
59 --color-band: var(--band);
60 --color-ink: var(--ink);
61 --color-body: var(--body);
62 --color-muted: var(--muted);
63 --color-line: var(--line);
64 --color-brand: var(--brand);
65 --font-sans: "Inter Variable", Inter, -apple-system, "Segoe UI", Helvetica, sans-serif;
66 --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, monospace;
67}
68
69@layer base {
70 * {
71 border-color: var(--line);
72 }
73
74 html {
75 scroll-behavior: smooth;
76 }
77
78 body {
79 background: var(--paper);
80 color: var(--body);
81 font-family: var(--font-sans);
82 font-size: 17px;
83 line-height: 1.6;
84 -webkit-font-smoothing: antialiased;
85 font-synthesis-weight: none;
86 }
87
88 /* Copy never runs the full width of the viewport: that is most of why the
89 page reads like a document rather than a poster. */
90 p,
91 li,
92 dd {
93 max-width: 68ch;
94 }
95
96 h1,
97 h2,
98 h3,
99 h4 {
100 color: var(--ink);
101 line-height: 1.15;
102 letter-spacing: -0.02em;
103 text-wrap: balance;
104 }
105
106 a {
107 color: inherit;
108 text-decoration: none;
109 }
110
111 ::selection {
112 background: color-mix(in srgb, var(--brand) 22%, transparent);
113 }
114
115 :focus-visible {
116 outline: 2px solid var(--brand);
117 outline-offset: 2px;
118 border-radius: var(--radius-sm);
119 }
120
121 @media (prefers-reduced-motion: reduce) {
122 html {
123 scroll-behavior: auto;
124 }
125 }
126}
127
128/* ---- Layout ---------------------------------------------------------------- */
129.hz-band {
130 padding-block: var(--section-y);
131 padding-inline: var(--gutter);
132 background: var(--paper);
133}
134/* Every second band takes the off-white, so a section boundary is a change of
135 ground rather than a rule someone has to notice. */
136.hz-band-alt {
137 background: var(--band);
138 border-block: 1px solid var(--line);
139}
140.hz-wrap {
141 max-width: var(--measure);
142 margin-inline: auto;
143}
144.hz-narrow {
145 max-width: 760px;
146 margin-inline: auto;
147}
148.hz-anchor {
149 scroll-margin-top: calc(var(--header-h) + 12px);
150}
151
152/* ---- Type ------------------------------------------------------------------ */
153.hz-display {
154 font-size: clamp(2.25rem, 4.6vw, 3.75rem);
155 font-weight: 700;
156 letter-spacing: -0.035em;
157 line-height: 1.08;
158 color: var(--ink);
159 max-width: 22ch;
160}
161.hz-h2 {
162 font-size: clamp(1.75rem, 3vw, 2.5rem);
163 font-weight: 700;
164 letter-spacing: -0.03em;
165 max-width: 26ch;
166}
167.hz-h3 {
168 font-size: 1.0625rem;
169 font-weight: 600;
170 letter-spacing: -0.01em;
171}
172.hz-lead {
173 font-size: 1.1875rem;
174 line-height: 1.65;
175 color: var(--muted);
176 max-width: 62ch;
177}
178.hz-label {
179 display: inline-block;
180 font-size: 0.8125rem;
181 font-weight: 600;
182 letter-spacing: 0.01em;
183 color: var(--brand-ink);
184}
185.hz-small {
186 font-size: 0.9375rem;
187 line-height: 1.6;
188 color: var(--muted);
189}
190
191/* ---- Buttons --------------------------------------------------------------- */
192.hz-btn {
193 display: inline-flex;
194 align-items: center;
195 gap: 8px;
196 height: 42px;
197 padding-inline: 18px;
198 border: 1px solid transparent;
199 border-radius: var(--radius);
200 font-size: 0.9375rem;
201 font-weight: 500;
202 white-space: nowrap;
203 cursor: pointer;
204 transition:
205 background var(--quick) var(--ease),
206 border-color var(--quick),
207 color var(--quick),
208 box-shadow var(--quick);
209}
210.hz-btn-lg {
211 height: 48px;
212 padding-inline: 22px;
213 font-size: 1rem;
214}
215.hz-btn-primary {
216 background: var(--brand);
217 color: #fff;
218 box-shadow: var(--shadow-sm);
219}
220.hz-btn-primary:hover {
221 background: var(--brand-hover);
222}
223.hz-btn-ghost {
224 background: var(--paper);
225 border-color: var(--line-strong);
226 color: var(--ink);
227}
228.hz-btn-ghost:hover {
229 background: var(--band);
230}
231.hz-btn-quiet {
232 background: transparent;
233 color: var(--brand-ink);
234 padding-inline: 0;
235}
236.hz-btn-quiet:hover {
237 color: var(--brand-hover);
238}
239/* The arrow leans forward on hover — the one motion a button gets. */
240.hz-btn svg {
241 width: 16px;
242 height: 16px;
243 transition: transform 200ms var(--ease);
244}
245.hz-btn:hover svg {
246 transform: translateX(2px);
247}
248
249/* ---- Header ---------------------------------------------------------------- */
250.hz-header {
251 position: sticky;
252 top: 0;
253 z-index: 50;
254 background: color-mix(in srgb, var(--paper) 88%, transparent);
255 backdrop-filter: saturate(180%) blur(12px);
256 border-bottom: 1px solid var(--line);
257}
258.hz-header-inner {
259 position: relative;
260 display: flex;
261 align-items: center;
262 gap: 20px;
263 height: var(--header-h);
264 max-width: var(--measure);
265 margin-inline: auto;
266 padding-inline: var(--gutter);
267}
268.hz-logo {
269 display: inline-flex;
270 align-items: center;
271 gap: 9px;
272 font-size: 1.0625rem;
273 font-weight: 600;
274 letter-spacing: -0.02em;
275 color: var(--ink);
276}
277/* The bar's own breakpoints live here rather than as utility classes on the
278 markup: this stylesheet is unlayered, so it would win over Tailwind's
279 `lg:hidden` and leave the menu button showing on desktop. */
280/* Centred on the bar itself rather than in the space left over between the
281 logo and the button: `auto` margins would push it off-centre by half the
282 difference between those two, which is exactly what you notice. */
283.hz-nav {
284 position: absolute;
285 left: 50%;
286 transform: translateX(-50%);
287 display: flex;
288 align-items: center;
289 gap: 2px;
290}
291.hz-menu-btn,
292.hz-sheet {
293 display: none;
294}
295@media (max-width: 1024px) {
296 .hz-nav {
297 display: none;
298 }
299 .hz-menu-btn {
300 display: grid;
301 }
302 .hz-sheet {
303 display: block;
304 }
305}
306@media (max-width: 420px) {
307 .hz-header .hz-btn-primary {
308 display: none;
309 }
310}
311.hz-nav a {
312 padding: 7px 12px;
313 border-radius: var(--radius);
314 font-size: 0.9375rem;
315 color: var(--body);
316 transition: background var(--quick), color var(--quick);
317}
318.hz-nav a:hover {
319 background: var(--band);
320 color: var(--ink);
321}
322.hz-nav a.is-current {
323 color: var(--brand-ink);
324 font-weight: 500;
325}
326.hz-header-actions {
327 display: flex;
328 align-items: center;
329 gap: 10px;
330}
331.hz-menu-btn {
332 place-items: center;
333 width: 38px;
334 height: 38px;
335 border: 1px solid var(--line-strong);
336 border-radius: var(--radius);
337 background: var(--paper);
338 color: var(--ink);
339 cursor: pointer;
340}
341.hz-sheet {
342 border-bottom: 1px solid var(--line);
343 background: var(--paper);
344 padding: 12px var(--gutter) 20px;
345}
346.hz-header-actions {
347 margin-left: auto;
348}
349.hz-sheet a {
350 display: block;
351 padding: 11px 12px;
352 border-radius: var(--radius);
353 font-size: 0.9375rem;
354 color: var(--body);
355}
356.hz-sheet a:hover {
357 background: var(--band);
358}
359.hz-sheet .hz-btn {
360 width: 100%;
361 justify-content: center;
362 margin-top: 10px;
363}
364
365/* ---- Hero ------------------------------------------------------------------ */
366.hz-hero {
367 position: relative;
368 padding: clamp(56px, 8vw, 104px) var(--gutter) 0;
369 text-align: center;
370 overflow: hidden;
371}
372/* One wash behind the first screen, fading out well before the next band, so
373 the page opens on something other than flat white. */
374.hz-hero::before {
375 content: "";
376 position: absolute;
377 inset: -40% 0 auto;
378 height: 680px;
379 background: radial-gradient(60% 60% at 50% 42%, var(--brand-wash), transparent 70%);
380 z-index: -1;
381}
382.hz-hero-copy {
383 max-width: 880px;
384 margin-inline: auto;
385 display: grid;
386 justify-items: center;
387 gap: 22px;
388}
389.hz-hero-copy .hz-display {
390 max-width: 20ch;
391 font-size: clamp(2.5rem, 5.6vw, 4.25rem);
392}
393.hz-hero-copy .hz-lead {
394 max-width: 56ch;
395 font-size: 1.25rem;
396}
397.hz-hero-actions {
398 display: flex;
399 flex-wrap: wrap;
400 justify-content: center;
401 gap: 12px;
402 margin-top: 4px;
403}
404.hz-hero-note {
405 font-size: 0.875rem;
406 color: var(--faint);
407}
408/* The product's drawing, on a card that reads as a frame without pretending
409 to be a screenshot. It is the largest thing on the page on purpose: the
410 first screen has one job, and it is showing what this is. */
411.hz-art-card {
412 margin: clamp(40px, 6vw, 72px) auto 0;
413 max-width: 1080px;
414 padding: clamp(14px, 2vw, 22px);
415 border: 1px solid var(--line);
416 border-radius: var(--radius-xl);
417 background: var(--paper);
418 box-shadow: var(--shadow-lg);
419}
420.hz-illustration {
421 display: block;
422 width: 100%;
423 height: auto;
424 /* The drawing's structure: a shade darker than a hairline, so the line work
425 reads on white without competing with the type. */
426 color: #c4c2bb;
427}
428.hz-roles {
429 margin-top: clamp(40px, 6vw, 72px);
430 border-top: 1px solid var(--line);
431 display: grid;
432 grid-template-columns: repeat(4, 1fr);
433 max-width: var(--measure);
434 margin-inline: auto;
435}
436.hz-roles span {
437 display: flex;
438 align-items: center;
439 justify-content: center;
440 gap: 9px;
441 padding: 20px 12px;
442 font-size: 0.875rem;
443 color: var(--muted);
444}
445.hz-roles span + span {
446 border-left: 1px solid var(--line);
447}
448.hz-roles i {
449 width: 6px;
450 height: 6px;
451 border-radius: 999px;
452 background: var(--brand);
453}
454
455/* ---- Section header -------------------------------------------------------- */
456.hz-sechead {
457 display: grid;
458 gap: 14px;
459 max-width: 780px;
460}
461.hz-sechead-center {
462 margin-inline: auto;
463 justify-items: center;
464 text-align: center;
465}
466.hz-sechead-center :is(p, h2) {
467 margin-inline: auto;
468}
469
470/* ---- Cards ----------------------------------------------------------------- */
471.hz-grid {
472 margin-top: 44px;
473 display: grid;
474 gap: 16px;
475 grid-template-columns: repeat(4, 1fr);
476}
477.hz-grid-3 {
478 grid-template-columns: repeat(3, 1fr);
479}
480.hz-grid-2 {
481 grid-template-columns: repeat(2, 1fr);
482}
483.hz-card {
484 display: grid;
485 align-content: start;
486 gap: 10px;
487 padding: 22px;
488 border: 1px solid var(--line);
489 border-radius: var(--radius-lg);
490 background: var(--paper);
491 transition: border-color var(--quick), box-shadow var(--quick), transform 200ms var(--ease);
492}
493.hz-card:hover {
494 border-color: var(--line-strong);
495 box-shadow: var(--shadow);
496 transform: translateY(-2px);
497}
498.hz-card-icon {
499 display: grid;
500 place-items: center;
501 width: 36px;
502 height: 36px;
503 border-radius: var(--radius);
504 background: var(--brand-wash);
505 color: var(--brand-ink);
506}
507.hz-card-icon svg {
508 width: 19px;
509 height: 19px;
510}
511.hz-card h3 {
512 font-size: 1.0625rem;
513 font-weight: 600;
514}
515.hz-card p {
516 font-size: 0.9375rem;
517 line-height: 1.55;
518 color: var(--muted);
519}
520.hz-tag {
521 justify-self: start;
522 padding: 3px 9px;
523 border-radius: 999px;
524 background: var(--band);
525 border: 1px solid var(--line);
526 font-family: var(--font-mono);
527 font-size: 0.6875rem;
528 letter-spacing: 0.04em;
529 text-transform: uppercase;
530 color: var(--muted);
531}
532
533/* ---- Feature rows: copy beside a drawing ----------------------------------- */
534.hz-feature {
535 display: grid;
536 grid-template-columns: 1fr 1fr;
537 align-items: center;
538 gap: clamp(32px, 5vw, 72px);
539 padding-block: clamp(40px, 5vw, 64px);
540 border-top: 1px solid var(--line);
541}
542.hz-feature:first-of-type {
543 border-top: 0;
544}
545/* Odd rows put the drawing on the left, so four features in a row never read
546 as the same block four times. */
547.hz-feature-flip .hz-feature-art {
548 order: -1;
549}
550.hz-feature-copy {
551 display: grid;
552 justify-items: start;
553 gap: 14px;
554}
555.hz-feature-copy p {
556 font-size: 1.0625rem;
557 color: var(--muted);
558}
559.hz-feature-art {
560 display: grid;
561 place-items: center;
562 padding: clamp(16px, 2.5vw, 28px);
563 border: 1px solid var(--line);
564 border-radius: var(--radius-xl);
565 background: var(--paper);
566}
567/* Feature drawings are supporting evidence, not the subject: capped well
568 below the column so a row never reads as a picture with a caption. */
569.hz-feature-art .hz-illustration {
570 max-width: 340px;
571 color: #c9c7c1;
572}
573.hz-pills {
574 display: flex;
575 flex-wrap: wrap;
576 gap: 8px;
577 margin-top: 2px;
578}
579.hz-pills span {
580 padding: 5px 11px;
581 border: 1px solid var(--line);
582 border-radius: 999px;
583 background: var(--paper);
584 font-size: 0.8125rem;
585 color: var(--body);
586}
587
588/* ---- Ticked proof list ----------------------------------------------------- */
589.hz-checks {
590 display: grid;
591 gap: 10px;
592 margin-top: 2px;
593}
594.hz-checks li {
595 display: flex;
596 gap: 10px;
597 align-items: flex-start;
598 font-size: 0.9375rem;
599 line-height: 1.5;
600 color: var(--body);
601}
602.hz-checks svg {
603 width: 16px;
604 height: 16px;
605 margin-top: 3px;
606 flex: none;
607 color: var(--brand);
608}
609
610/* ---- Steps ----------------------------------------------------------------- */
611.hz-steps {
612 margin-top: 44px;
613 display: grid;
614 grid-template-columns: repeat(4, 1fr);
615 gap: 16px;
616}
617.hz-step {
618 display: grid;
619 align-content: start;
620 gap: 8px;
621 padding-top: 18px;
622 border-top: 2px solid var(--brand);
623}
624.hz-step:nth-child(n + 2) {
625 border-top-color: var(--line-strong);
626}
627.hz-step-num {
628 font-family: var(--font-mono);
629 font-size: 0.75rem;
630 letter-spacing: 0.1em;
631 color: var(--brand-ink);
632}
633.hz-step p {
634 font-size: 0.9375rem;
635 line-height: 1.55;
636 color: var(--muted);
637}
638
639/* ---- Prose ----------------------------------------------------------------- */
640.hz-prose {
641 display: grid;
642 gap: 18px;
643 margin-top: 32px;
644}
645.hz-prose p {
646 max-width: 72ch;
647 font-size: 1.0625rem;
648 color: var(--body);
649}
650
651/* ---- Figures + credit card ------------------------------------------------- */
652.hz-facts {
653 margin-top: 44px;
654 display: grid;
655 grid-template-columns: 1.2fr 1fr;
656 gap: clamp(24px, 4vw, 56px);
657 align-items: center;
658 padding: clamp(24px, 4vw, 40px);
659 border: 1px solid var(--line);
660 border-radius: var(--radius-xl);
661 background: var(--paper);
662}
663.hz-figures {
664 display: grid;
665}
666.hz-figures > div {
667 display: flex;
668 gap: 18px;
669 align-items: baseline;
670 padding: 14px 0;
671 border-top: 1px solid var(--line);
672}
673.hz-figures > div:first-child {
674 border-top: 0;
675 padding-top: 0;
676}
677.hz-figures dt {
678 min-width: 2.5ch;
679 font-family: var(--font-mono);
680 font-size: clamp(1.75rem, 3vw, 2.25rem);
681 font-weight: 600;
682 line-height: 1;
683 letter-spacing: -0.04em;
684 color: var(--brand-ink);
685}
686.hz-figures dd {
687 font-size: 0.9375rem;
688 line-height: 1.5;
689 color: var(--muted);
690}
691.hz-builder {
692 display: grid;
693 justify-items: start;
694 gap: 10px;
695 padding-left: clamp(0px, 2vw, 28px);
696 border-left: 1px solid var(--line);
697}
698
699/* ---- Note ------------------------------------------------------------------ */
700.hz-note {
701 display: flex;
702 gap: 12px;
703 margin-top: 32px;
704 padding: 18px 20px;
705 border: 1px solid var(--line);
706 border-left: 3px solid var(--brand);
707 border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
708 background: var(--band);
709 font-size: 0.9375rem;
710 line-height: 1.55;
711 color: var(--body);
712}
713.hz-note svg {
714 width: 18px;
715 height: 18px;
716 margin-top: 2px;
717 flex: none;
718 color: var(--brand-ink);
719}
720
721/* ---- FAQ ------------------------------------------------------------------- */
722.hz-faq {
723 margin-top: 40px;
724 border-top: 1px solid var(--line);
725}
726.hz-faq-item {
727 border-bottom: 1px solid var(--line);
728}
729.hz-faq-item summary {
730 display: flex;
731 align-items: center;
732 gap: 16px;
733 padding: 20px 2px;
734 list-style: none;
735 cursor: pointer;
736 font-size: 1.0625rem;
737 font-weight: 500;
738 color: var(--ink);
739}
740.hz-faq-item summary::-webkit-details-marker {
741 display: none;
742}
743.hz-faq-item summary > span {
744 flex: 1;
745}
746.hz-faq-item summary:hover {
747 color: var(--brand-ink);
748}
749.hz-faq-item svg {
750 width: 16px;
751 height: 16px;
752 color: var(--muted);
753 transition: transform 200ms var(--ease);
754}
755.hz-faq-item[open] svg {
756 transform: rotate(90deg);
757 color: var(--brand);
758}
759.hz-faq-item p {
760 padding: 0 2px 22px;
761 max-width: 76ch;
762 font-size: 1rem;
763 color: var(--muted);
764}
765
766/* ---- Closing panel --------------------------------------------------------- */
767.hz-cta {
768 display: grid;
769 justify-items: center;
770 gap: 16px;
771 text-align: center;
772 padding: clamp(44px, 6vw, 72px) clamp(24px, 4vw, 56px);
773 border: 1px solid var(--line);
774 border-radius: var(--radius-xl);
775 background: linear-gradient(180deg, var(--brand-wash), var(--paper));
776}
777.hz-cta .hz-h2 {
778 max-width: 24ch;
779}
780.hz-cta p {
781 max-width: 54ch;
782 color: var(--muted);
783}
784.hz-cta-mail {
785 font-family: var(--font-mono);
786 font-size: 0.9375rem;
787 color: var(--brand-ink);
788}
789
790/* ---- Footer ---------------------------------------------------------------- */
791.hz-footer {
792 border-top: 1px solid var(--line);
793 background: var(--paper);
794 padding: 56px var(--gutter) 28px;
795}
796.hz-footer-inner {
797 max-width: var(--measure);
798 margin-inline: auto;
799}
800.hz-footer-cols {
801 display: grid;
802 grid-template-columns: 1.6fr repeat(3, 1fr);
803 gap: 32px;
804}
805.hz-footer h4 {
806 font-size: 0.875rem;
807 font-weight: 600;
808 color: var(--ink);
809}
810.hz-footer ul {
811 display: grid;
812 gap: 9px;
813 margin-top: 14px;
814}
815.hz-footer li a {
816 font-size: 0.9375rem;
817 color: var(--muted);
818 transition: color var(--quick);
819}
820.hz-footer li a:hover {
821 color: var(--brand-ink);
822}
823.hz-footer-legal {
824 display: flex;
825 flex-wrap: wrap;
826 align-items: center;
827 justify-content: space-between;
828 gap: 12px;
829 margin-top: 44px;
830 padding-top: 20px;
831 border-top: 1px solid var(--line);
832 font-size: 0.875rem;
833 color: var(--faint);
834}
835.hz-social {
836 display: inline-flex;
837 align-items: center;
838 justify-content: center;
839 width: 34px;
840 height: 34px;
841 border: 1px solid var(--line);
842 border-radius: var(--radius);
843 color: var(--muted);
844 transition: color var(--quick), border-color var(--quick), transform 200ms var(--ease);
845}
846.hz-social:hover {
847 color: var(--brand-ink);
848 border-color: var(--line-strong);
849 transform: translateY(-1px);
850}
851
852/* ---- 404 ------------------------------------------------------------------- */
853.hz-404 {
854 display: grid;
855 justify-items: center;
856 align-content: center;
857 gap: 14px;
858 min-height: 62vh;
859 padding: 72px var(--gutter);
860 text-align: center;
861}
862.hz-404 svg {
863 width: 88px;
864 color: var(--line-strong);
865}
866
867/* ---- Scroll-triggered entrance --------------------------------------------
868 Blocks rise once on entry with a per-card stagger. `is-armed` is only ever
869 set on the client, so server markup is never hidden by a script that has
870 not run. */
871.hz-reveal.is-armed {
872 opacity: 0;
873 transform: translateY(18px);
874}
875.hz-reveal.is-in {
876 opacity: 1;
877 transform: none;
878 transition:
879 opacity 0.6s ease,
880 transform 0.6s var(--ease);
881 transition-delay: calc(var(--i, 0) * 70ms);
882}
883.hz-grid > .hz-reveal,
884.hz-steps > .hz-reveal {
885 display: grid;
886}
887
888@media (prefers-reduced-motion: reduce) {
889 .hz-reveal.is-armed {
890 opacity: 1;
891 transform: none;
892 }
893 .hz-btn:hover svg {
894 transform: none;
895 }
896}
897
898/* ---- Responsive ------------------------------------------------------------ */
899@media (max-width: 1024px) {
900 :root {
901 --section-y: 72px;
902 }
903 .hz-grid,
904 .hz-grid-3,
905 .hz-steps {
906 grid-template-columns: repeat(2, 1fr);
907 }
908 .hz-feature,
909 .hz-facts,
910 .hz-footer-cols {
911 grid-template-columns: 1fr;
912 }
913 /* With one column the drawing follows the copy on every row, flipped or
914 not: alternating sides only means something side by side. */
915 .hz-feature-flip .hz-feature-art {
916 order: 0;
917 }
918 .hz-builder {
919 padding-left: 0;
920 padding-top: 20px;
921 border-left: 0;
922 border-top: 1px solid var(--line);
923 }
924}
925
926@media (max-width: 640px) {
927 body {
928 font-size: 16px;
929 }
930 .hz-grid,
931 .hz-grid-2,
932 .hz-grid-3,
933 .hz-steps {
934 grid-template-columns: 1fr;
935 }
936 .hz-roles {
937 grid-template-columns: repeat(2, 1fr);
938 }
939 .hz-roles span:nth-child(n + 3) {
940 border-top: 1px solid var(--line);
941 }
942 .hz-roles span:nth-child(3) {
943 border-left: 0;
944 }
945 .hz-hero-actions .hz-btn {
946 width: 100%;
947 justify-content: center;
948 }
949}