forge
Explore
Log in

Don't you dare go Hollow

hezarfen_landing

Clone
★ 0

0 watching0 forksTypeScript581.6 KiB94b1804Burak Boduroğlu2 months ago15 commits

app.css1594 lines, 34.1 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/* Feature rows that show a screenshot drop the drawing's padded well: the
574 shot brings its own frame, and a frame inside a frame reads as a mat. */
575.hz-feature-shot {
576 padding: 0;
577 border: 0;
578 background: transparent;
579}
580.hz-feature-shot .hz-shot {
581 box-shadow: var(--shadow);
582}
583
584/* ---- Product screenshot -------------------------------------------------- */
585.hz-shot {
586 width: 100%;
587 margin: 0;
588 overflow: hidden;
589 border: 1px solid var(--line);
590 border-radius: var(--radius-lg);
591 background: var(--band);
592}
593/* A portrait shot (a side panel) is capped so its row stays about as tall as
594 its copy. */
595.hz-shot-tall {
596 max-width: 380px;
597}
598.hz-shot img {
599 display: block;
600 width: 100%;
601 height: auto;
602}
603.hz-shot-bar {
604 display: flex;
605 align-items: center;
606 gap: 12px;
607 height: 34px;
608 padding-inline: 12px;
609 border-bottom: 1px solid var(--line);
610 background: var(--paper);
611}
612.hz-shot-dots {
613 display: flex;
614 gap: 6px;
615}
616.hz-shot-dots i {
617 width: 9px;
618 height: 9px;
619 border-radius: 999px;
620 background: var(--line-strong);
621}
622.hz-shot-url {
623 min-width: 0;
624 margin-inline: auto;
625 padding: 3px 14px;
626 overflow: hidden;
627 border-radius: var(--radius);
628 background: var(--sunken);
629 font-family: var(--font-mono);
630 font-size: 0.6875rem;
631 color: var(--muted);
632 white-space: nowrap;
633 text-overflow: ellipsis;
634}
635/* The dots are balanced by an empty box of the same width, so the address
636 sits in the true centre of the bar. */
637.hz-shot-bar::after {
638 content: "";
639 width: 39px;
640}
641
642.hz-pills {
643 display: flex;
644 flex-wrap: wrap;
645 gap: 8px;
646 margin-top: 2px;
647}
648.hz-pills span {
649 padding: 5px 11px;
650 border: 1px solid var(--line);
651 border-radius: 999px;
652 background: var(--paper);
653 font-size: 0.8125rem;
654 color: var(--body);
655}
656
657/* ---- Ticked proof list ----------------------------------------------------- */
658.hz-checks {
659 display: grid;
660 gap: 10px;
661 margin-top: 2px;
662}
663.hz-checks li {
664 display: flex;
665 gap: 10px;
666 align-items: flex-start;
667 font-size: 0.9375rem;
668 line-height: 1.5;
669 color: var(--body);
670}
671.hz-checks svg {
672 width: 16px;
673 height: 16px;
674 margin-top: 3px;
675 flex: none;
676 color: var(--brand);
677}
678
679/* ---- Steps ----------------------------------------------------------------- */
680.hz-steps {
681 margin-top: 44px;
682 display: grid;
683 grid-template-columns: repeat(4, 1fr);
684 gap: 16px;
685}
686.hz-step {
687 display: grid;
688 align-content: start;
689 gap: 8px;
690 padding-top: 18px;
691 border-top: 2px solid var(--brand);
692}
693.hz-step:nth-child(n + 2) {
694 border-top-color: var(--line-strong);
695}
696.hz-step-num {
697 font-family: var(--font-mono);
698 font-size: 0.75rem;
699 letter-spacing: 0.1em;
700 color: var(--brand-ink);
701}
702.hz-step p {
703 font-size: 0.9375rem;
704 line-height: 1.55;
705 color: var(--muted);
706}
707
708/* ---- Prose ----------------------------------------------------------------- */
709.hz-prose {
710 display: grid;
711 gap: 18px;
712 margin-top: 32px;
713}
714.hz-prose p {
715 max-width: 72ch;
716 font-size: 1.0625rem;
717 color: var(--body);
718}
719
720/* ---- Figures + credit card ------------------------------------------------- */
721.hz-facts {
722 margin-top: 44px;
723 display: grid;
724 grid-template-columns: 1.2fr 1fr;
725 gap: clamp(24px, 4vw, 56px);
726 align-items: center;
727 padding: clamp(24px, 4vw, 40px);
728 border: 1px solid var(--line);
729 border-radius: var(--radius-xl);
730 background: var(--paper);
731}
732.hz-figures {
733 display: grid;
734}
735.hz-figures > div {
736 display: flex;
737 gap: 18px;
738 align-items: baseline;
739 padding: 14px 0;
740 border-top: 1px solid var(--line);
741}
742.hz-figures > div:first-child {
743 border-top: 0;
744 padding-top: 0;
745}
746.hz-figures dt {
747 min-width: 2.5ch;
748 font-family: var(--font-mono);
749 font-size: clamp(1.75rem, 3vw, 2.25rem);
750 font-weight: 600;
751 line-height: 1;
752 letter-spacing: -0.04em;
753 color: var(--brand-ink);
754}
755.hz-figures dd {
756 font-size: 0.9375rem;
757 line-height: 1.5;
758 color: var(--muted);
759}
760.hz-builder {
761 display: grid;
762 justify-items: start;
763 gap: 10px;
764 padding-left: clamp(0px, 2vw, 28px);
765 border-left: 1px solid var(--line);
766}
767
768/* ---- Note ------------------------------------------------------------------ */
769.hz-note {
770 display: flex;
771 gap: 12px;
772 margin-top: 32px;
773 padding: 18px 20px;
774 border: 1px solid var(--line);
775 border-left: 3px solid var(--brand);
776 border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
777 background: var(--band);
778 font-size: 0.9375rem;
779 line-height: 1.55;
780 color: var(--body);
781}
782.hz-note svg {
783 width: 18px;
784 height: 18px;
785 margin-top: 2px;
786 flex: none;
787 color: var(--brand-ink);
788}
789
790/* ---- FAQ ------------------------------------------------------------------- */
791.hz-faq {
792 margin-top: 40px;
793 border-top: 1px solid var(--line);
794}
795.hz-faq-item {
796 border-bottom: 1px solid var(--line);
797}
798.hz-faq-item summary {
799 display: flex;
800 align-items: center;
801 gap: 16px;
802 padding: 20px 2px;
803 list-style: none;
804 cursor: pointer;
805 font-size: 1.0625rem;
806 font-weight: 500;
807 color: var(--ink);
808}
809.hz-faq-item summary::-webkit-details-marker {
810 display: none;
811}
812.hz-faq-item summary > span {
813 flex: 1;
814}
815.hz-faq-item summary:hover {
816 color: var(--brand-ink);
817}
818.hz-faq-item svg {
819 width: 16px;
820 height: 16px;
821 color: var(--muted);
822 transition: transform 200ms var(--ease);
823}
824.hz-faq-item[open] svg {
825 transform: rotate(90deg);
826 color: var(--brand);
827}
828.hz-faq-item p {
829 padding: 0 2px 22px;
830 max-width: 76ch;
831 font-size: 1rem;
832 color: var(--muted);
833}
834
835/* ---- Closing panel --------------------------------------------------------- */
836.hz-cta {
837 display: grid;
838 justify-items: center;
839 gap: 16px;
840 text-align: center;
841 padding: clamp(44px, 6vw, 72px) clamp(24px, 4vw, 56px);
842 border: 1px solid var(--line);
843 border-radius: var(--radius-xl);
844 background: linear-gradient(180deg, var(--brand-wash), var(--paper));
845}
846.hz-cta .hz-h2 {
847 max-width: 24ch;
848}
849.hz-cta p {
850 max-width: 54ch;
851 color: var(--muted);
852}
853.hz-cta-mail {
854 font-family: var(--font-mono);
855 font-size: 0.9375rem;
856 color: var(--brand-ink);
857}
858
859/* ---- Footer ---------------------------------------------------------------- */
860.hz-footer {
861 border-top: 1px solid var(--line);
862 background: var(--paper);
863 padding: 56px var(--gutter) 28px;
864}
865.hz-footer-inner {
866 max-width: var(--measure);
867 margin-inline: auto;
868}
869.hz-footer-cols {
870 display: grid;
871 grid-template-columns: 1.6fr repeat(3, 1fr);
872 gap: 32px;
873}
874.hz-footer h4 {
875 font-size: 0.875rem;
876 font-weight: 600;
877 color: var(--ink);
878}
879.hz-footer ul {
880 display: grid;
881 gap: 9px;
882 margin-top: 14px;
883}
884.hz-footer li a {
885 font-size: 0.9375rem;
886 color: var(--muted);
887 transition: color var(--quick);
888}
889.hz-footer li a:hover {
890 color: var(--brand-ink);
891}
892.hz-footer-legal {
893 display: flex;
894 flex-wrap: wrap;
895 align-items: center;
896 justify-content: space-between;
897 gap: 12px;
898 margin-top: 44px;
899 padding-top: 20px;
900 border-top: 1px solid var(--line);
901 font-size: 0.875rem;
902 color: var(--faint);
903}
904.hz-social {
905 display: inline-flex;
906 align-items: center;
907 justify-content: center;
908 width: 34px;
909 height: 34px;
910 border: 1px solid var(--line);
911 border-radius: var(--radius);
912 color: var(--muted);
913 transition: color var(--quick), border-color var(--quick), transform 200ms var(--ease);
914}
915.hz-social:hover {
916 color: var(--brand-ink);
917 border-color: var(--line-strong);
918 transform: translateY(-1px);
919}
920
921/* ---- 404 ------------------------------------------------------------------- */
922.hz-404 {
923 display: grid;
924 justify-items: center;
925 align-content: center;
926 gap: 14px;
927 min-height: 62vh;
928 padding: 72px var(--gutter);
929 text-align: center;
930}
931.hz-404 svg {
932 width: 88px;
933 color: var(--line-strong);
934}
935
936/* ---- Page head: the two standing pages ------------------------------------- */
937.hz-pagehead {
938 position: relative;
939 padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px);
940 overflow: hidden;
941}
942.hz-pagehead::before {
943 content: "";
944 position: absolute;
945 inset: -50% 0 auto;
946 height: 520px;
947 background: radial-gradient(50% 60% at 30% 45%, var(--brand-wash), transparent 72%);
948 z-index: -1;
949}
950.hz-pagehead .hz-wrap {
951 display: grid;
952 gap: 16px;
953 justify-items: start;
954}
955.hz-pagehead .hz-display {
956 max-width: 26ch;
957 font-size: clamp(2.25rem, 4.4vw, 3.5rem);
958}
959.hz-pagehead-actions {
960 justify-content: flex-start;
961 margin-top: 8px;
962}
963
964/* ---- Pipeline: the diagram on /nasil-calisir -------------------------------
965 Four stage cards in a row, each followed by a connector its own records
966 travel along. The connector belongs to the card on its left, so the last
967 stage draws none and the row needs no special case. */
968/* Two wide cards per row rather than four narrow ones: at four columns every
969 stage's copy wrapped every three words, which is what made the diagram
970 look crowded when the content is actually short. */
971.hz-flow {
972 position: relative;
973 display: grid;
974 grid-template-columns: repeat(2, 1fr);
975 gap: 32px 40px;
976 padding-bottom: 72px;
977}
978.hz-flow-item {
979 position: relative;
980}
981.hz-flow-card {
982 display: grid;
983 grid-template-columns: 1fr 200px;
984 grid-template-areas:
985 "head art"
986 "body art"
987 "list list";
988 align-content: start;
989 gap: 16px 24px;
990 height: 100%;
991 padding: 28px 30px;
992 border: 1px solid var(--line);
993 border-radius: var(--radius-lg);
994 background: var(--paper);
995 box-shadow: var(--shadow-sm);
996}
997.hz-flow-card header {
998 grid-area: head;
999 display: grid;
1000 gap: 4px;
1001 align-content: start;
1002}
1003.hz-flow-card > .hz-small {
1004 grid-area: body;
1005}
1006.hz-flow-card .hz-checks {
1007 grid-area: list;
1008 padding-top: 16px;
1009 border-top: 1px solid var(--line);
1010}
1011.hz-flow-card .hz-h3 {
1012 font-size: 1.25rem;
1013}
1014.hz-flow-sub {
1015 font-family: var(--font-mono);
1016 font-size: 0.75rem;
1017 letter-spacing: 0.01em;
1018 color: var(--faint);
1019}
1020.hz-flow-art {
1021 grid-area: art;
1022 align-self: start;
1023 padding: 14px;
1024 border: 1px solid var(--line);
1025 border-radius: var(--radius);
1026 background: var(--band);
1027}
1028.hz-flow-art .hz-illustration {
1029 color: #b9b7b1;
1030}
1031
1032/* The connector, and the two records crossing it. */
1033/* The connector runs in the gap to the card's right, so only the stages in
1034 the left column draw one — the numerals carry the order across the row
1035 break, and an arrow pointing at a card below it would lie about the flow. */
1036.hz-flow-link {
1037 position: absolute;
1038 top: 74px;
1039 right: -40px;
1040 width: 40px;
1041 height: 2px;
1042 background: var(--line-strong);
1043}
1044.hz-flow-item:nth-child(even) .hz-flow-link,
1045.hz-flow-link.is-last {
1046 display: none;
1047}
1048.hz-flow-link::after {
1049 content: "";
1050 position: absolute;
1051 right: 0;
1052 top: -3px;
1053 width: 8px;
1054 height: 8px;
1055 background: var(--line-strong);
1056 clip-path: polygon(0 0, 100% 50%, 0 100%);
1057}
1058.hz-flow-dot {
1059 position: absolute;
1060 top: -3px;
1061 left: 0;
1062 width: 8px;
1063 height: 8px;
1064 border-radius: 999px;
1065 background: var(--brand);
1066 animation: hz-travel 2.6s var(--ease) infinite;
1067}
1068.hz-flow-dot-b {
1069 animation-delay: 1.3s;
1070 opacity: 0.6;
1071}
1072
1073/* The loop: what usage produces becomes data again. */
1074.hz-flow-loop {
1075 position: absolute;
1076 left: 0;
1077 right: 0;
1078 bottom: 0;
1079 display: grid;
1080 justify-items: center;
1081 gap: 10px;
1082}
1083.hz-flow-loop-line {
1084 width: 100%;
1085 height: 28px;
1086 border: 2px dashed var(--line-strong);
1087 border-top: 0;
1088 border-radius: 0 0 var(--radius-lg) var(--radius-lg);
1089}
1090.hz-flow-loop-label {
1091 max-width: 72ch;
1092 text-align: center;
1093 font-size: 0.875rem;
1094 color: var(--muted);
1095}
1096
1097@keyframes hz-travel {
1098 0% {
1099 transform: translateX(-6px);
1100 opacity: 0;
1101 }
1102 20% {
1103 opacity: 1;
1104 }
1105 80% {
1106 opacity: 1;
1107 }
1108 100% {
1109 transform: translateX(36px);
1110 opacity: 0;
1111 }
1112}
1113
1114/* Stage drawings: each animates the thing its stage does. `fill-box` is what
1115 makes a bar grow from its own baseline rather than from the viewBox's. */
1116.hz-flow-bar,
1117.hz-flow-stamp,
1118.hz-flow-mark,
1119.hz-flow-cell {
1120 transform-box: fill-box;
1121}
1122.hz-flow-bar {
1123 transform-origin: bottom;
1124 animation: hz-grow 3.4s var(--ease) infinite;
1125}
1126.hz-flow-mark {
1127 transform-origin: center;
1128 animation: hz-pop 3.4s var(--ease) infinite;
1129}
1130.hz-flow-cell {
1131 animation: hz-blink 3.4s var(--ease) infinite;
1132}
1133.hz-flow-stamp {
1134 transform-origin: center;
1135 animation: hz-stamp 3.4s var(--ease) infinite;
1136}
1137
1138@keyframes hz-grow {
1139 0%,
1140 12% {
1141 transform: scaleY(0.08);
1142 }
1143 45%,
1144 100% {
1145 transform: scaleY(1);
1146 }
1147}
1148@keyframes hz-pop {
1149 0%,
1150 10% {
1151 transform: scale(0.2);
1152 opacity: 0;
1153 }
1154 30%,
1155 100% {
1156 transform: scale(1);
1157 opacity: 1;
1158 }
1159}
1160@keyframes hz-blink {
1161 0%,
1162 12% {
1163 opacity: 0.06;
1164 }
1165 40%,
1166 100% {
1167 opacity: 1;
1168 }
1169}
1170@keyframes hz-stamp {
1171 0%,
1172 40% {
1173 transform: scale(0.6) rotate(-8deg);
1174 opacity: 0;
1175 }
1176 55% {
1177 transform: scale(1.08) rotate(0deg);
1178 opacity: 1;
1179 }
1180 70%,
1181 100% {
1182 transform: scale(1);
1183 opacity: 1;
1184 }
1185}
1186
1187/* ---- Numbered rows: where each product sits in the chain ------------------- */
1188.hz-rows {
1189 margin-top: 40px;
1190}
1191.hz-row {
1192 display: grid;
1193 grid-template-columns: 140px 220px 1fr;
1194 gap: 12px 32px;
1195 align-items: baseline;
1196 padding: 22px 0;
1197 border-top: 1px solid var(--line);
1198}
1199
1200/* ---- Two-column ticked list ------------------------------------------------ */
1201.hz-checks-2 {
1202 margin-top: 36px;
1203 grid-template-columns: repeat(2, 1fr);
1204 gap: 14px 32px;
1205}
1206
1207/* ---- Contact page ---------------------------------------------------------- */
1208/* The form and the panel beside it are one block: both columns stretch to
1209 the taller of the two, so their tops and bottoms line up instead of the
1210 short one floating in a column of white. */
1211.hz-contact-split {
1212 display: grid;
1213 grid-template-columns: 1.4fr 1fr;
1214 gap: clamp(28px, 4vw, 56px);
1215 align-items: stretch;
1216}
1217.hz-form-card {
1218 height: 100%;
1219 padding: clamp(22px, 3vw, 36px);
1220 border: 1px solid var(--line);
1221 border-radius: var(--radius-xl);
1222 background: var(--paper);
1223 box-shadow: var(--shadow);
1224}
1225.hz-form {
1226 display: grid;
1227 gap: 18px;
1228}
1229.hz-field-row {
1230 display: grid;
1231 grid-template-columns: repeat(2, 1fr);
1232 gap: 16px;
1233}
1234.hz-field {
1235 display: grid;
1236 gap: 6px;
1237 border: 0;
1238 padding: 0;
1239 margin: 0;
1240 min-width: 0;
1241}
1242.hz-field > span,
1243.hz-field > legend {
1244 font-size: 0.875rem;
1245 font-weight: 500;
1246 color: var(--ink);
1247 padding: 0;
1248}
1249.hz-field i {
1250 font-style: normal;
1251 font-weight: 400;
1252 color: var(--faint);
1253}
1254.hz-field :is(input, select, textarea) {
1255 width: 100%;
1256 padding: 10px 12px;
1257 border: 1px solid var(--line-strong);
1258 border-radius: var(--radius);
1259 background: var(--paper);
1260 font: inherit;
1261 font-size: 0.9375rem;
1262 color: var(--body);
1263 transition: border-color var(--quick), box-shadow var(--quick);
1264}
1265.hz-field :is(input, select, textarea):focus {
1266 outline: none;
1267 border-color: var(--brand);
1268 box-shadow: 0 0 0 3px var(--brand-wash);
1269}
1270.hz-field textarea {
1271 resize: vertical;
1272}
1273.hz-choices {
1274 display: flex;
1275 flex-wrap: wrap;
1276 gap: 8px;
1277}
1278.hz-choice {
1279 display: inline-flex;
1280 align-items: center;
1281 gap: 8px;
1282 padding: 8px 12px;
1283 border: 1px solid var(--line-strong);
1284 border-radius: 999px;
1285 font-size: 0.875rem;
1286 cursor: pointer;
1287 transition: border-color var(--quick), background var(--quick);
1288}
1289.hz-choice:hover {
1290 background: var(--band);
1291}
1292.hz-choice:has(input:checked) {
1293 border-color: var(--brand);
1294 background: var(--brand-wash);
1295 color: var(--brand-ink);
1296}
1297.hz-choice input,
1298.hz-consent input {
1299 accent-color: var(--brand);
1300 width: 16px;
1301 height: 16px;
1302}
1303.hz-consent {
1304 display: flex;
1305 gap: 10px;
1306 align-items: flex-start;
1307 font-size: 0.9375rem;
1308 color: var(--body);
1309 cursor: pointer;
1310}
1311.hz-consent input {
1312 margin-top: 3px;
1313 flex: none;
1314}
1315.hz-form-error {
1316 padding: 12px 14px;
1317 border: 1px solid #f3c6c6;
1318 border-radius: var(--radius);
1319 background: #fdf3f3;
1320 font-size: 0.9375rem;
1321 color: #a32b2b;
1322}
1323.hz-form button[type="submit"] {
1324 justify-self: start;
1325}
1326.hz-form button[disabled] {
1327 opacity: 0.7;
1328 cursor: progress;
1329}
1330.hz-form-note {
1331 font-size: 0.8125rem;
1332 line-height: 1.5;
1333 color: var(--faint);
1334}
1335.hz-form-done {
1336 display: grid;
1337 justify-items: start;
1338 gap: 12px;
1339 animation: hz-rise 0.5s var(--ease) both;
1340}
1341.hz-contact-aside {
1342 display: grid;
1343 /* The steps take the space, the address block sits under them and the
1344 diagram link holds the bottom edge — which is what makes the column end
1345 level with the form's last field rather than short of it. */
1346 grid-template-rows: 1fr auto auto;
1347 gap: 28px;
1348 height: 100%;
1349 padding: clamp(20px, 3vw, 28px);
1350 border: 1px solid var(--line);
1351 border-radius: var(--radius-xl);
1352 background: var(--paper);
1353}
1354.hz-contact-aside > *:first-child {
1355 align-self: start;
1356}
1357.hz-ministeps {
1358 display: grid;
1359 gap: 18px;
1360 margin-top: 16px;
1361}
1362.hz-ministeps li {
1363 display: grid;
1364 gap: 4px;
1365 padding-left: 14px;
1366 border-left: 2px solid var(--line-strong);
1367}
1368.hz-ministeps li:first-child {
1369 border-left-color: var(--brand);
1370}
1371.hz-ministeps strong {
1372 font-size: 0.9375rem;
1373 color: var(--ink);
1374}
1375.hz-contact-direct {
1376 display: grid;
1377 gap: 8px;
1378 justify-items: start;
1379 padding-top: 24px;
1380 border-top: 1px solid var(--line);
1381}
1382.hz-contact-mail {
1383 font-family: var(--font-mono);
1384 font-size: 1rem;
1385 color: var(--brand-ink);
1386}
1387.hz-contact-mail:hover {
1388 color: var(--brand-hover);
1389}
1390
1391/* ---- Entrance: the first screen assembles ---------------------------------
1392 The hero is the one place motion runs on load rather than on scroll, and
1393 it is a single short gesture: copy rises line by line, the card follows. */
1394.hz-hero-copy > * {
1395 animation: hz-rise 0.7s var(--ease) backwards;
1396}
1397.hz-hero-copy > *:nth-child(2) {
1398 animation-delay: 0.07s;
1399}
1400.hz-hero-copy > *:nth-child(3) {
1401 animation-delay: 0.14s;
1402}
1403.hz-hero-copy > *:nth-child(4) {
1404 animation-delay: 0.21s;
1405}
1406.hz-art-card {
1407 animation: hz-rise-card 0.9s var(--ease) 0.22s backwards;
1408}
1409
1410@keyframes hz-rise {
1411 from {
1412 opacity: 0;
1413 transform: translateY(12px);
1414 }
1415}
1416@keyframes hz-rise-card {
1417 from {
1418 opacity: 0;
1419 transform: translateY(26px) scale(0.985);
1420 }
1421}
1422
1423/* ---- Page change ------------------------------------------------------------
1424 While the next page's code loads, a hairline in brand runs along the top of
1425 the viewport; once it lands, the page settles in with a short rise. The bar
1426 waits 120ms before showing, so a page that is already cached never flashes
1427 it. */
1428.hz-route-progress {
1429 position: fixed;
1430 inset: 0 0 auto;
1431 z-index: 60;
1432 height: 2px;
1433 background: var(--brand);
1434 transform: scaleX(0);
1435 transform-origin: left;
1436 opacity: 0;
1437 pointer-events: none;
1438}
1439.hz-route-progress.is-active {
1440 opacity: 1;
1441 animation: hz-progress 2.4s cubic-bezier(0.1, 0.7, 0.2, 1) 120ms forwards;
1442}
1443@keyframes hz-progress {
1444 from {
1445 transform: scaleX(0);
1446 }
1447 to {
1448 transform: scaleX(0.85);
1449 }
1450}
1451.hz-page-in {
1452 animation: hz-page-in 0.42s var(--ease);
1453}
1454@keyframes hz-page-in {
1455 from {
1456 opacity: 0;
1457 transform: translateY(10px);
1458 }
1459}
1460
1461/* ---- Scroll-triggered entrance --------------------------------------------
1462 Blocks rise once on entry with a per-card stagger. `is-armed` is only ever
1463 set on the client, so server markup is never hidden by a script that has
1464 not run. */
1465.hz-reveal.is-armed {
1466 opacity: 0;
1467 transform: translateY(18px);
1468}
1469.hz-reveal.is-in {
1470 opacity: 1;
1471 transform: none;
1472 transition:
1473 opacity 0.6s ease,
1474 transform 0.6s var(--ease);
1475 transition-delay: calc(var(--i, 0) * 70ms);
1476}
1477.hz-grid > .hz-reveal,
1478.hz-steps > .hz-reveal {
1479 display: grid;
1480}
1481
1482@media (prefers-reduced-motion: reduce) {
1483 .hz-reveal.is-armed {
1484 opacity: 1;
1485 transform: none;
1486 }
1487 .hz-btn:hover svg {
1488 transform: none;
1489 }
1490 /* The diagram still reads as a diagram with every stage at rest. */
1491 .hz-hero-copy > *,
1492 .hz-art-card,
1493 .hz-page-in,
1494 .hz-route-progress,
1495 .hz-flow-dot,
1496 .hz-flow-bar,
1497 .hz-flow-mark,
1498 .hz-flow-cell,
1499 .hz-flow-stamp,
1500 .hz-form-done {
1501 animation: none !important;
1502 }
1503 .hz-flow-dot {
1504 opacity: 0;
1505 }
1506}
1507
1508/* ---- Responsive ------------------------------------------------------------ */
1509@media (max-width: 1024px) {
1510 :root {
1511 --section-y: 72px;
1512 }
1513 .hz-grid,
1514 .hz-grid-3,
1515 .hz-steps {
1516 grid-template-columns: repeat(2, 1fr);
1517 }
1518 .hz-feature,
1519 .hz-facts,
1520 .hz-footer-cols,
1521 .hz-contact-split {
1522 grid-template-columns: 1fr;
1523 }
1524 /* One stage per row: the cards keep their width and the connectors go,
1525 since nothing sits to the right of a card any more. */
1526 .hz-flow {
1527 grid-template-columns: 1fr;
1528 padding-bottom: 56px;
1529 }
1530 .hz-flow-link {
1531 display: none;
1532 }
1533 .hz-row {
1534 grid-template-columns: 140px 1fr;
1535 }
1536 .hz-row p {
1537 grid-column: 2;
1538 }
1539 /* With one column the drawing follows the copy on every row, flipped or
1540 not: alternating sides only means something side by side. */
1541 .hz-feature-flip .hz-feature-art {
1542 order: 0;
1543 }
1544 .hz-builder {
1545 padding-left: 0;
1546 padding-top: 20px;
1547 border-left: 0;
1548 border-top: 1px solid var(--line);
1549 }
1550}
1551
1552@media (max-width: 640px) {
1553 body {
1554 font-size: 16px;
1555 }
1556 .hz-grid,
1557 .hz-grid-2,
1558 .hz-grid-3,
1559 .hz-steps {
1560 grid-template-columns: 1fr;
1561 }
1562 .hz-roles {
1563 grid-template-columns: repeat(2, 1fr);
1564 }
1565 .hz-field-row,
1566 .hz-checks-2 {
1567 grid-template-columns: 1fr;
1568 }
1569 /* The drawing drops under the copy instead of squeezing beside it. */
1570 .hz-flow-card {
1571 grid-template-columns: 1fr;
1572 grid-template-areas: "head" "art" "body" "list";
1573 padding: 22px;
1574 }
1575 .hz-flow-art {
1576 max-width: 260px;
1577 }
1578 .hz-row {
1579 grid-template-columns: 1fr;
1580 }
1581 .hz-row p {
1582 grid-column: 1;
1583 }
1584 .hz-roles span:nth-child(n + 3) {
1585 border-top: 1px solid var(--line);
1586 }
1587 .hz-roles span:nth-child(3) {
1588 border-left: 0;
1589 }
1590 .hz-hero-actions .hz-btn {
1591 width: 100%;
1592 justify-content: center;
1593 }
1594}