feat: launch public product website
This commit is contained in:
+156
-21
@@ -1,7 +1,8 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
--font-sans: var(--font-instrument-sans), ui-sans-serif, system-ui, sans-serif;
|
||||
--font-sans:
|
||||
var(--font-instrument-sans), ui-sans-serif, system-ui, sans-serif;
|
||||
--font-serif: var(--font-playfair), ui-serif, Georgia, serif;
|
||||
|
||||
/* Light palette: mirrors the app's `lightColors` (constants/colors.ts). */
|
||||
@@ -53,7 +54,11 @@
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-canvas font-sans text-foreground antialiased;
|
||||
@apply bg-canvas text-foreground font-sans antialiased;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: color-mix(in srgb, var(--color-primary) 24%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,6 +93,31 @@
|
||||
animation: fade-in-up 0.5s ease-out 0.3s both;
|
||||
}
|
||||
|
||||
/* Long-form homepage chapters render as they approach the viewport. */
|
||||
.pitch-lazy {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 1000px;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
scroll-behavior: auto !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
|
||||
.card-hover:hover {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Branded one-page PDF sheet: a green-to-white gradient washed over a faint
|
||||
* teal grid. Only rendered for print (the on-screen page mirrors the homepage).
|
||||
@@ -97,42 +127,147 @@
|
||||
linear-gradient(150deg, #ccfbf1 0%, #f0fdfa 30%, #ffffff 64%),
|
||||
linear-gradient(rgba(15, 118, 110, 0.07) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px);
|
||||
background-size: auto, 22px 22px, 22px 22px;
|
||||
background-size:
|
||||
auto,
|
||||
22px 22px,
|
||||
22px 22px;
|
||||
}
|
||||
|
||||
.northwell-print-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@page {
|
||||
size: letter;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 0.25in;
|
||||
size: letter;
|
||||
:root {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
||||
* {
|
||||
print-color-adjust: exact !important;
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
animation: none !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background: #ffffff !important;
|
||||
print-color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 8.5in !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
color: #0f172a !important;
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
.print-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.print-page {
|
||||
max-width: none !important;
|
||||
padding: 0 !important;
|
||||
.northwell-print-only {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.print-page * {
|
||||
box-shadow: none !important;
|
||||
animation: none !important;
|
||||
.northwell-print-page {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
width: 8.5in;
|
||||
height: 11in;
|
||||
overflow: hidden;
|
||||
padding: 0.42in 0.55in 0.46in;
|
||||
break-after: page;
|
||||
page-break-after: always;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.print-sheet {
|
||||
print-color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
.northwell-print-page:last-child {
|
||||
break-after: auto;
|
||||
page-break-after: auto;
|
||||
}
|
||||
|
||||
.northwell-print-wash {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.northwell-print-header,
|
||||
.northwell-print-content,
|
||||
.northwell-print-footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.northwell-print-header {
|
||||
position: absolute;
|
||||
top: 0.42in;
|
||||
right: 0.55in;
|
||||
left: 0.55in;
|
||||
display: flex;
|
||||
height: 0.43in;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid #cbd5e1;
|
||||
}
|
||||
|
||||
.northwell-print-content {
|
||||
position: absolute;
|
||||
top: 0.85in;
|
||||
right: 0.55in;
|
||||
left: 0.55in;
|
||||
height: 9.43in;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.northwell-print-page--continuation .northwell-print-content {
|
||||
top: 0.42in;
|
||||
height: 9.86in;
|
||||
}
|
||||
|
||||
.northwell-print-footer {
|
||||
position: absolute;
|
||||
right: 0.55in;
|
||||
bottom: 0.46in;
|
||||
left: 0.55in;
|
||||
display: flex;
|
||||
height: 0.26in;
|
||||
align-items: end;
|
||||
justify-content: center;
|
||||
border-top: 1px solid #cbd5e1;
|
||||
color: #64748b;
|
||||
font-size: 8px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.northwell-print-label {
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.18em;
|
||||
color: #0f766e;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.northwell-print-title {
|
||||
margin-top: 0.12in;
|
||||
font-family: var(--font-playfair), Georgia, serif;
|
||||
font-size: 28px;
|
||||
line-height: 1.08;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.northwell-print-lede {
|
||||
margin-top: 0.12in;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
color: #475569;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user