style: Seperate and Reformat inline style into css seperate files
This commit is contained in:
241
src/styles/download.css
Normal file
241
src/styles/download.css
Normal file
@@ -0,0 +1,241 @@
|
||||
.download-cta {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-height: 400px;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
border-top: 1px solid #eec8b8;
|
||||
}
|
||||
|
||||
.download-cta__pattern {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
max-width: 1920px;
|
||||
height: 923px;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.download-cta__inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 32px;
|
||||
margin: 0 auto;
|
||||
padding: 48px 16px;
|
||||
}
|
||||
|
||||
.download-cta__content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
gap: 36px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.download-cta__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.download-cta__heading {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.download-cta__title {
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.download-cta__logo-frame {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 188px;
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
.download-cta__logo {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.download-cta__description {
|
||||
max-width: 542px;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.store-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
gap: 16px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.store-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
overflow: clip;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.store-badge--android {
|
||||
background: #f28a4b;
|
||||
border: 1px solid #c5834e;
|
||||
}
|
||||
|
||||
.store-badge--ios {
|
||||
background: #383838;
|
||||
border: 1px solid #141414;
|
||||
}
|
||||
|
||||
.store-badge__icon {
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.store-badge__icon-frame {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: #151515;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.store-badge__apple-icon {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.store-badge__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
gap: 3px;
|
||||
overflow: clip;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.store-badge__platform {
|
||||
margin: 0;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
letter-spacing: 0.05px;
|
||||
}
|
||||
|
||||
.store-badge--android .store-badge__platform {
|
||||
color: #ffd6bc;
|
||||
}
|
||||
|
||||
.store-badge--ios .store-badge__platform {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.store-badge__label {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.download-cta__phone {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
width: 418px;
|
||||
height: 510px;
|
||||
}
|
||||
|
||||
.download-cta__phone-crop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.download-cta__phone-image {
|
||||
position: absolute;
|
||||
top: -18.05%;
|
||||
left: 3.8%;
|
||||
width: 92.43%;
|
||||
max-width: none;
|
||||
height: 136.1%;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.store-badge {
|
||||
width: 260px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.download-cta__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.download-cta {
|
||||
height: 600px;
|
||||
}
|
||||
|
||||
.download-cta__inner {
|
||||
flex-direction: row;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.download-cta__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.download-cta__phone {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
150
src/styles/features.css
Normal file
150
src/styles/features.css
Normal file
@@ -0,0 +1,150 @@
|
||||
.features {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 60px;
|
||||
padding: 64px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.features__bg {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 2363px;
|
||||
height: 1319px;
|
||||
object-fit: cover;
|
||||
opacity: 0.2;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.features__header {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 24px;
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.features__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.features__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.features__grid {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 22px;
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 32px;
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.feature-card__icon-frame {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.feature-card__icon {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.feature-card__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.feature-card__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
color: #2e2a28;
|
||||
}
|
||||
|
||||
.feature-card__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.features__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.features__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.features {
|
||||
padding: 120px 0;
|
||||
}
|
||||
|
||||
.features__header {
|
||||
padding: 0 180px;
|
||||
}
|
||||
|
||||
.features__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.features__grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
162
src/styles/footer.css
Normal file
162
src/styles/footer.css
Normal file
@@ -0,0 +1,162 @@
|
||||
.site-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 64px 0;
|
||||
background: #fef0eb;
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 36px;
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.site-footer__top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.site-footer__brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
gap: 24px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.site-footer__logo-frame {
|
||||
position: relative;
|
||||
width: 220px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.site-footer__logo {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.site-footer__description {
|
||||
max-width: 320px;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.site-footer__links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 32px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.site-footer__link-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 160px;
|
||||
gap: 24px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.site-footer__link,
|
||||
.site-footer__text {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
line-height: normal;
|
||||
color: #4a4a4a;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.site-footer__link {
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
transition: color 160ms ease;
|
||||
}
|
||||
|
||||
.site-footer__link:hover {
|
||||
color: #f28a4b;
|
||||
}
|
||||
|
||||
.site-footer__text--heading {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.site-footer__divider {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: #e3d9d1;
|
||||
}
|
||||
|
||||
.site-footer__bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 12px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.site-footer__legal {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: normal;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.site-footer__spacer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.site-footer__bottom {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.site-footer__legal {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.site-footer__spacer {
|
||||
display: block;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.site-footer {
|
||||
padding: 120px 0;
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site-footer__top {
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 0;
|
||||
}
|
||||
}
|
||||
315
src/styles/header.css
Normal file
315
src/styles/header.css
Normal file
@@ -0,0 +1,315 @@
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e3d9d1;
|
||||
}
|
||||
|
||||
.site-header__bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
height: 72px;
|
||||
gap: 24px;
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.site-header__brand,
|
||||
.site-header__actions {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.site-header__brand {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-header__actions {
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
position: relative;
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
width: 143px;
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.site-logo__icon-frame {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 53px;
|
||||
height: 42px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site-logo__icon {
|
||||
position: absolute;
|
||||
top: -13.49%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 126.98%;
|
||||
}
|
||||
|
||||
.site-logo__wordmark-frame {
|
||||
position: absolute;
|
||||
inset: 26.97% 0 7.92% 45.45%;
|
||||
}
|
||||
|
||||
.site-logo__wordmark {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: none;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.site-nav__link {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
color: #7a726d;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
transition: color 160ms ease;
|
||||
}
|
||||
|
||||
.site-nav__link:hover,
|
||||
.site-nav__link.is-active {
|
||||
color: #f28a4b;
|
||||
}
|
||||
|
||||
.language-switcher {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.language-switcher__button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 43px;
|
||||
gap: 8px;
|
||||
padding: 0 16px 0 12px;
|
||||
background: #fff;
|
||||
border: 1px solid rgba(46, 42, 40, 0.3);
|
||||
border-radius: 17px;
|
||||
cursor: pointer;
|
||||
transition: border-color 160ms ease;
|
||||
}
|
||||
|
||||
.language-switcher__button:hover,
|
||||
.language-switcher__button[aria-expanded='true'] {
|
||||
border-color: #f28a4b;
|
||||
}
|
||||
|
||||
.language-switcher__icon {
|
||||
display: block;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.language-switcher__current {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 14px;
|
||||
color: #2e2a28;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.language-switcher__menu {
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
right: 0;
|
||||
z-index: 60;
|
||||
width: 240px;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
border: 1px solid #e3d9d1;
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 16px 40px rgba(46, 42, 40, 0.16);
|
||||
}
|
||||
|
||||
.language-switcher__menu.is-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.language-switcher__option {
|
||||
display: block;
|
||||
padding: 18px 24px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
color: #7a726d;
|
||||
text-decoration: none;
|
||||
transition: background-color 160ms ease, color 160ms ease;
|
||||
}
|
||||
|
||||
.language-switcher__option:hover {
|
||||
color: #f28a4b;
|
||||
background: #fef0eb;
|
||||
}
|
||||
|
||||
.language-switcher__option.is-active {
|
||||
color: #2e2a28;
|
||||
background: #f8f3ee;
|
||||
}
|
||||
|
||||
.site-header__download {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
padding: 13px 22px;
|
||||
background: #f28a4b;
|
||||
border-radius: 17px;
|
||||
text-decoration: none;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
|
||||
.site-header__download:hover {
|
||||
background: #e07a3b;
|
||||
}
|
||||
|
||||
.site-header__download-label {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
gap: 5px;
|
||||
padding: 8px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.menu-toggle__bar {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #2e2a28;
|
||||
border-radius: 2px;
|
||||
transform-origin: center;
|
||||
transition: transform 240ms ease, opacity 240ms ease;
|
||||
}
|
||||
|
||||
.mobile-nav {
|
||||
background: #fff;
|
||||
border-top: 1px solid #e3d9d1;
|
||||
}
|
||||
|
||||
.mobile-nav.is-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-nav__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px 24px;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.mobile-nav__link {
|
||||
display: block;
|
||||
padding: 16px 0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #2e2a28;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid #e3d9d1;
|
||||
}
|
||||
|
||||
.mobile-nav__link--last {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.mobile-nav__languages {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 16px 0;
|
||||
border-top: 1px solid #e3d9d1;
|
||||
}
|
||||
|
||||
.mobile-nav__language-link {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #2e2a28;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mobile-nav__language-link.is-active {
|
||||
color: #f28a4b;
|
||||
}
|
||||
|
||||
.mobile-nav__download-item {
|
||||
margin: 16px 0 8px;
|
||||
}
|
||||
|
||||
.mobile-nav__download {
|
||||
display: block;
|
||||
padding: 14px 24px;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
background: #f28a4b;
|
||||
border-radius: 17px;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
|
||||
.mobile-nav__download:hover {
|
||||
background: #e07a3b;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.site-header__bar {
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
.site-nav,
|
||||
.language-switcher,
|
||||
.site-header__download {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-nav {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
237
src/styles/hero.css
Normal file
237
src/styles/hero.css
Normal file
@@ -0,0 +1,237 @@
|
||||
.hero {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-height: 600px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero__bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero__inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
height: 100%;
|
||||
gap: 40px;
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.hero__phone-column {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero__phone-frame {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 673 / 1108;
|
||||
}
|
||||
|
||||
.hero__phone-crop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero__phone {
|
||||
position: absolute;
|
||||
top: -7.18%;
|
||||
left: -2.67%;
|
||||
width: 105.35%;
|
||||
max-width: none;
|
||||
height: 114.36%;
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
gap: 60px;
|
||||
padding: 32px 0;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.hero__badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
padding: 12px 16px;
|
||||
overflow: clip;
|
||||
background: #fff;
|
||||
border: 1px solid #f08458;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.hero__badge-text {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
color: #0d0d0d;
|
||||
}
|
||||
|
||||
.hero__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.hero__title {
|
||||
width: 100%;
|
||||
font-size: 40px;
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
color: #2e2a28;
|
||||
}
|
||||
|
||||
.hero__title-line {
|
||||
margin: 0;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.hero__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.hero__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 14px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.hero__button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
padding: 14px 24px;
|
||||
overflow: clip;
|
||||
border-radius: 17px;
|
||||
text-decoration: none;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
|
||||
.hero__button--primary {
|
||||
background: #f28a4b;
|
||||
}
|
||||
|
||||
.hero__button--primary:hover {
|
||||
background: #e07a3b;
|
||||
}
|
||||
|
||||
.hero__button--secondary {
|
||||
background: rgba(255, 255, 255, 0.55);
|
||||
border: 1px solid #e3d9d1;
|
||||
}
|
||||
|
||||
.hero__button--secondary:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.hero__button-label {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hero__button--primary .hero__button-label {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.hero__button--secondary .hero__button-label {
|
||||
color: #2e2a28;
|
||||
}
|
||||
|
||||
.hero__tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 10px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.hero__tag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
padding: 9px 14px;
|
||||
overflow: clip;
|
||||
background: rgba(255, 255, 255, 0.68);
|
||||
border: 1px solid #fff;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.hero__tag-text {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
color: #7a726d;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.hero__title {
|
||||
font-size: 56px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.hero {
|
||||
height: 891px;
|
||||
}
|
||||
|
||||
.hero__inner {
|
||||
flex-direction: row;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.hero__phone-column {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
width: 660px;
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.hero__title {
|
||||
font-size: 72px;
|
||||
}
|
||||
}
|
||||
158
src/styles/preview.css
Normal file
158
src/styles/preview.css
Normal file
@@ -0,0 +1,158 @@
|
||||
.app-preview {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 60px;
|
||||
padding: 64px 16px 0;
|
||||
overflow: hidden;
|
||||
background: #fef0eb;
|
||||
}
|
||||
|
||||
.app-preview__header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
max-width: 940px;
|
||||
gap: 40px;
|
||||
margin: 0 auto;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.app-preview__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-preview__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-preview__carousel {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.app-preview__side-phone {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
width: 336px;
|
||||
height: 396px;
|
||||
overflow: hidden;
|
||||
opacity: 0.2;
|
||||
pointer-events: none;
|
||||
transition: opacity 300ms ease;
|
||||
}
|
||||
|
||||
.app-preview__phone-image {
|
||||
position: absolute;
|
||||
top: -0.03%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 175.34%;
|
||||
transition: opacity 300ms ease;
|
||||
}
|
||||
|
||||
.app-preview__control-wrap {
|
||||
display: none;
|
||||
align-items: flex-end;
|
||||
align-self: stretch;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.app-preview__control-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.app-preview__button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background: #f08458;
|
||||
border: 0;
|
||||
border-radius: 9999px;
|
||||
cursor: pointer;
|
||||
transition: background-color 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.app-preview__button:hover {
|
||||
background: #e07a3b;
|
||||
}
|
||||
|
||||
.app-preview__button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.app-preview__button-icon {
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.app-preview__button-icon--next {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.app-preview__center-phone {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
aspect-ratio: 459 / 542;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.app-preview__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.app-preview {
|
||||
padding: 120px 130px 0;
|
||||
}
|
||||
|
||||
.app-preview__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.app-preview__side-phone,
|
||||
.app-preview__control-wrap {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.app-preview__side-phone {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.app-preview__center-phone {
|
||||
width: 459px;
|
||||
height: 542px;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
}
|
||||
331
src/styles/sections.css
Normal file
331
src/styles/sections.css
Normal file
@@ -0,0 +1,331 @@
|
||||
.experience {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 64px 16px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.experience__inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
max-width: 1008px;
|
||||
gap: 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.experience__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.experience__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.experience__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.experience-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 28px;
|
||||
padding: 0 0 36px;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(to bottom, #fef0eb, #fff);
|
||||
border-radius: 30px 30px 0 0;
|
||||
}
|
||||
|
||||
.experience-card__media {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 232px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.experience-card__media--tinted {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
background: #ffeddf;
|
||||
}
|
||||
|
||||
.experience-card__media-crop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.experience-card__image {
|
||||
position: absolute;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.experience-card__image--one {
|
||||
top: -58.58%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 298.5%;
|
||||
}
|
||||
|
||||
.experience-card__image--two {
|
||||
top: -335.6%;
|
||||
left: -5.95%;
|
||||
width: 137.79%;
|
||||
height: 411.28%;
|
||||
}
|
||||
|
||||
.experience-card__image--three {
|
||||
top: -99.23%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 298.5%;
|
||||
}
|
||||
|
||||
.experience-card__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 16px;
|
||||
max-width: 248px;
|
||||
padding: 0;
|
||||
overflow: clip;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.experience-card__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
letter-spacing: -0.47px;
|
||||
color: #0d0d0d;
|
||||
}
|
||||
|
||||
.experience-card__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
letter-spacing: -0.18px;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.experience__caption {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.use-cases {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 64px 16px;
|
||||
background: #fef0eb;
|
||||
}
|
||||
|
||||
.use-cases__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 32px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.use-cases__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.section-eyebrow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
padding: 12px 24px;
|
||||
background: #fff;
|
||||
border: 1px solid #fbbfa3;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.section-eyebrow__text {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
color: #f08458;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.use-cases__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.use-cases__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.use-cases__rows {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 30px;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.use-case-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background: #faede8;
|
||||
}
|
||||
|
||||
.use-case-row__title-cell,
|
||||
.use-case-row__description-cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
padding: 16px 24px;
|
||||
}
|
||||
|
||||
.use-case-row__title-cell {
|
||||
background: #f08458;
|
||||
}
|
||||
|
||||
.use-case-row__description-cell {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.use-case-row__title {
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.use-case-row__description {
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.use-case-row {
|
||||
grid-template-columns: minmax(220px, 300px) minmax(280px, 1fr);
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.use-case-row__title-cell,
|
||||
.use-case-row__description-cell {
|
||||
padding: 24px 36px;
|
||||
}
|
||||
|
||||
.use-case-row__title {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.experience__title,
|
||||
.use-cases__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.experience {
|
||||
padding: 120px 16px;
|
||||
}
|
||||
|
||||
.experience__grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.experience-card {
|
||||
height: 477px;
|
||||
}
|
||||
|
||||
.experience-card__media {
|
||||
height: 232px;
|
||||
}
|
||||
|
||||
.experience-card__title {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.experience__title,
|
||||
.use-cases__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.use-cases {
|
||||
padding: 120px 64px;
|
||||
}
|
||||
|
||||
.use-cases__inner {
|
||||
grid-template-columns: minmax(420px, 540px) minmax(560px, 1fr);
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
.use-cases {
|
||||
padding-right: 130px;
|
||||
padding-left: 130px;
|
||||
}
|
||||
}
|
||||
192
src/styles/trust.css
Normal file
192
src/styles/trust.css
Normal file
@@ -0,0 +1,192 @@
|
||||
.trust {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 64px 16px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.trust__inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.trust__header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.trust__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.trust__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.trust__grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.trust-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
min-width: 0;
|
||||
gap: 16px;
|
||||
padding: 24px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.trust-card__icon-frame {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
.trust-card__icon-crop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.trust-card__icon {
|
||||
position: absolute;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.trust-card__icon--one {
|
||||
top: 7.04%;
|
||||
left: -31.48%;
|
||||
width: 312.73%;
|
||||
height: 174.55%;
|
||||
}
|
||||
|
||||
.trust-card__icon--two {
|
||||
top: 3.1%;
|
||||
left: -164.72%;
|
||||
width: 335.61%;
|
||||
height: 187.32%;
|
||||
}
|
||||
|
||||
.trust-card__icon--three {
|
||||
top: -105.62%;
|
||||
left: -187.93%;
|
||||
width: 378.86%;
|
||||
height: 211.46%;
|
||||
}
|
||||
|
||||
.trust-card__icon--four {
|
||||
top: 0;
|
||||
left: 4.14%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.trust-card__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.trust-card__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
color: #0d0d0d;
|
||||
}
|
||||
|
||||
.trust-card__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.trust__divider {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
width: 0;
|
||||
height: 118px;
|
||||
}
|
||||
|
||||
.trust__divider-frame {
|
||||
position: absolute;
|
||||
inset: 0 -0.5px;
|
||||
}
|
||||
|
||||
.trust__divider-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.trust__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.trust__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.trust {
|
||||
padding: 120px;
|
||||
}
|
||||
|
||||
.trust__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.trust__grid {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.trust-card {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.trust__divider {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
211
src/styles/why.css
Normal file
211
src/styles/why.css
Normal file
@@ -0,0 +1,211 @@
|
||||
.why {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 64px 16px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.why__inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.why__intro {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 36px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.why__copy {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
min-width: 0;
|
||||
gap: 36px;
|
||||
}
|
||||
|
||||
.why__text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.why__title {
|
||||
width: 100%;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.why__title-line {
|
||||
margin: 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.why__underline {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 295.5px;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.why__underline-frame {
|
||||
position: absolute;
|
||||
inset: -0.5px 0;
|
||||
}
|
||||
|
||||
.why__underline-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.why__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.why__illustration {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
width: 480px;
|
||||
height: 480px;
|
||||
}
|
||||
|
||||
.why__illustration-image {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.why__grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.why-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
gap: 24px;
|
||||
padding: 36px;
|
||||
overflow: clip;
|
||||
background: #fef0eb;
|
||||
border: 1px solid #e8e4de;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.why-card__icon-frame {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
overflow: clip;
|
||||
background: #f08458;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.why-card__icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.why-card__icon--square {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.why-card__icon--familiar {
|
||||
width: 38px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.why-card__icon--modern {
|
||||
width: 24px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.why-card__copy {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
min-width: 0;
|
||||
gap: 12px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.why-card__title {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
line-height: 20px;
|
||||
color: #0d0d0d;
|
||||
}
|
||||
|
||||
.why-card__description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.why__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.why__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.why-card {
|
||||
min-height: 152px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.why {
|
||||
padding: 120px 0;
|
||||
}
|
||||
|
||||
.why__intro {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.why__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.why__illustration {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user