forked from Rosetta/landing
160 lines
2.9 KiB
CSS
160 lines
2.9 KiB
CSS
.hero {
|
|
background: light-dark(var(--mantine-color-white), var(--mantine-color-dark-8));
|
|
}
|
|
|
|
.heroContainer {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 620px;
|
|
padding-top: 88px;
|
|
padding-bottom: 96px;
|
|
}
|
|
|
|
.heroCopy {
|
|
width: 100%;
|
|
max-width: 760px;
|
|
}
|
|
|
|
.heroTitle {
|
|
margin-top: 30px;
|
|
color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
|
|
font-size: clamp(44px, 6vw, 64px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.04em;
|
|
line-height: 1.06;
|
|
text-align: center;
|
|
}
|
|
|
|
.heroDescription {
|
|
max-width: 650px;
|
|
margin-top: 24px;
|
|
font-size: 19px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.featuresSection,
|
|
.appsSection,
|
|
.encryptionSection {
|
|
padding: 104px 0;
|
|
}
|
|
|
|
.featuresSection {
|
|
background: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-9));
|
|
}
|
|
|
|
.appsSection {
|
|
background: light-dark(var(--mantine-color-white), var(--mantine-color-dark-8));
|
|
}
|
|
|
|
.sectionHeading {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.sectionHeading h2 {
|
|
margin-top: var(--mantine-spacing-xs);
|
|
color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
|
|
font-size: clamp(34px, 5vw, 48px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.sectionHeading > p:last-child {
|
|
margin-top: var(--mantine-spacing-md);
|
|
font-size: 18px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.featureTitle,
|
|
.appTitle {
|
|
color: light-dark(var(--mantine-color-dark-9), var(--mantine-color-white));
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.appCard {
|
|
min-height: 280px;
|
|
border-color: light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-5));
|
|
background: light-dark(var(--mantine-color-white), var(--mantine-color-dark-7));
|
|
}
|
|
|
|
.downloadButton {
|
|
min-height: 42px;
|
|
}
|
|
|
|
.encryptionSection {
|
|
padding-top: 0;
|
|
background: light-dark(var(--mantine-color-white), var(--mantine-color-dark-8));
|
|
}
|
|
|
|
.encryptionCard {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 48px;
|
|
padding: 52px;
|
|
background: linear-gradient(135deg, var(--mantine-color-blue-8), var(--mantine-color-blue-5));
|
|
}
|
|
|
|
.encryptionCard h2 {
|
|
font-size: clamp(30px, 4vw, 42px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.12;
|
|
}
|
|
|
|
.encryptionButton {
|
|
flex: 0 0 auto;
|
|
color: var(--mantine-color-blue-8) !important;
|
|
}
|
|
|
|
@media (max-width: 62em) {
|
|
.heroContainer {
|
|
min-height: 560px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 48em) {
|
|
.heroContainer {
|
|
min-height: 500px;
|
|
padding-top: 64px;
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
.heroTitle {
|
|
font-size: clamp(40px, 12vw, 54px);
|
|
}
|
|
|
|
.heroDescription {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.featuresSection,
|
|
.appsSection,
|
|
.encryptionSection {
|
|
padding: 76px 0;
|
|
}
|
|
|
|
.encryptionSection {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.encryptionCard {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
padding: 34px 28px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 36em) {
|
|
.heroActions {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.heroActions :global(.mantine-Button-root) {
|
|
width: 100%;
|
|
}
|
|
}
|