Download frontend/src/components/landing/sections.css from tamgaa/app: direct link, hf CLI and curl.
- Browser
- Download file 12.1 kB
-
https://huggingface.co/spaces/tamgaa/app/resolve/main/frontend/src/components/landing/sections.css
- Command line
-
hf download hf://spaces/tamgaa/app/frontend/src/components/landing/sections.css
-
curl -L -o sections.css https://huggingface.co/spaces/tamgaa/app/resolve/main/frontend/src/components/landing/sections.css
12.1 kB
| /* ============================================================ | |
| Tamga studio landing — section styles. | |
| Imported by: TestimonialSection, PricingSection, | |
| TestimonialCarousel, ProjectsSection, PartnerSection. | |
| All classes are .st- prefixed and render under .studio-lp. | |
| Palette: ink #051A24 · ink-2 #0D212C · muted #273C46 | |
| · light-on-dark #F6FCFF / #E0EBF0 · white background. | |
| ============================================================ */ | |
| /* ---------- Shared big-title type (32/40/44, lh 1.1, tight) ---------- */ | |
| .st-section-title { | |
| font-size: 32px; | |
| line-height: 1.1; | |
| letter-spacing: -0.02em; | |
| color: #0D212C; | |
| font-weight: 500; | |
| margin: 0; | |
| } | |
| @media (min-width: 640px) { .st-section-title { font-size: 40px; } } | |
| @media (min-width: 768px) { .st-section-title { font-size: 44px; } } | |
| /* ============================================================ | |
| TESTIMONIAL QUOTE SECTION (.st-quote*) | |
| ============================================================ */ | |
| .st-quote { | |
| padding: 48px 24px; | |
| max-width: 672px; /* max-w-2xl */ | |
| margin: 0 auto; | |
| text-align: center; | |
| } | |
| .st-quote-icon { | |
| display: inline-flex; | |
| color: #0D212C; | |
| margin-bottom: 16px; | |
| } | |
| .st-quote-text { margin-bottom: 20px; } | |
| .st-quote-author { | |
| font-style: italic; | |
| font-size: 14px; | |
| color: #273C46; | |
| margin: 0 0 36px; | |
| } | |
| .st-quote-words { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| align-items: baseline; | |
| gap: 24px 48px; | |
| margin-bottom: 44px; | |
| } | |
| .st-quote-word { | |
| font-size: 24px; | |
| font-weight: 500; | |
| color: #0D212C; | |
| } | |
| .st-quote-figure { margin: 0; } | |
| /* Parallax wrapper around the report DocCard (transform set by rAF in JS). */ | |
| .st-quote-card { | |
| width: 100%; | |
| max-width: 320px; /* max-w-xs */ | |
| margin: 0 auto; | |
| text-align: left; | |
| will-change: transform; | |
| } | |
| /* ============================================================ | |
| PRICING (.st-pricing*, .st-price-*) | |
| ============================================================ */ | |
| .st-pricing { padding: 48px 24px; } | |
| .st-pricing-wrap { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| justify-content: flex-end; /* right-aligned wrapper on desktop */ | |
| } | |
| .st-pricing-grid { | |
| width: 100%; | |
| max-width: 896px; /* max-w-4xl */ | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 32px; | |
| } | |
| @media (min-width: 768px) { .st-pricing-grid { grid-template-columns: 1fr 1fr; } } | |
| .st-price-card { | |
| border-radius: 40px; | |
| padding: 12px 40px 40px; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| @media (min-width: 768px) { .st-price-card { padding-right: 96px; } } | |
| .st-price-card--dark { | |
| background: #051A24; | |
| color: #F6FCFF; | |
| box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.22), 0 4px 16px rgba(5, 26, 36, 0.18); | |
| } | |
| .st-price-card--light { | |
| background: #ffffff; | |
| color: #0D212C; | |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); | |
| } | |
| .st-price-title { | |
| font-size: 22px; | |
| font-weight: 500; | |
| margin: 28px 0 8px; | |
| } | |
| .st-price-desc { | |
| font-size: 14px; | |
| line-height: 1.6; | |
| margin: 0 0 28px; | |
| } | |
| .st-price-card--dark .st-price-desc { color: #E0EBF0; } | |
| .st-price-card--light .st-price-desc { color: #273C46; } | |
| .st-price-amount { font-size: 24px; font-weight: 500; margin: 0; } | |
| .st-price-period { font-size: 14px; margin: 4px 0 28px; } | |
| .st-price-card--dark .st-price-period { color: #E0EBF0; } | |
| .st-price-card--light .st-price-period { color: #273C46; } | |
| .st-price-actions { | |
| margin-top: auto; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| } | |
| /* ============================================================ | |
| TESTIMONIAL CAROUSEL (.st-carousel, .st-car-*) | |
| ============================================================ */ | |
| .st-carousel { | |
| padding: 80px 0; | |
| overflow: hidden; | |
| } | |
| .st-car-head { | |
| max-width: 896px; /* md:max-w-4xl ml-auto */ | |
| margin: 0 auto 12px; | |
| padding: 0 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| @media (min-width: 768px) { | |
| .st-car-head { | |
| margin: 0 0 12px auto; | |
| flex-direction: row; | |
| align-items: flex-end; | |
| justify-content: space-between; | |
| } | |
| } | |
| .st-car-strip { | |
| font-size: 13px; | |
| letter-spacing: 0.02em; | |
| color: #273C46; | |
| white-space: nowrap; | |
| padding-bottom: 6px; | |
| } | |
| .st-car-note { | |
| max-width: 896px; | |
| margin: 0 auto 36px; | |
| padding: 0 24px; | |
| font-size: 12px; | |
| color: #273C46; | |
| } | |
| @media (min-width: 768px) { .st-car-note { margin: 0 0 36px auto; } } | |
| .st-car-viewport { padding-left: 24px; } | |
| .st-car-track { | |
| display: flex; | |
| gap: 24px; | |
| will-change: transform; | |
| transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .st-car-track--still { transition: none; } | |
| .st-car-card { | |
| flex: 0 0 auto; | |
| width: calc(100vw - 48px); | |
| background: #ffffff; | |
| border-radius: 32px; | |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); | |
| padding: 32px 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| @media (min-width: 768px) { | |
| .st-car-card { | |
| width: 427.5px; | |
| border-radius: 40px; | |
| padding: 32px 96px 32px 40px; | |
| } | |
| } | |
| .st-car-quotemark { color: #0D212C; } | |
| .st-car-quote { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: #0D212C; | |
| margin: 0; | |
| } | |
| .st-car-author { | |
| margin-top: auto; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| /* Initials monogram circles (no stock photos). */ | |
| .st-car-avatar { | |
| width: 48px; | |
| height: 48px; | |
| border-radius: 50%; | |
| flex: 0 0 auto; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 14px; | |
| font-weight: 500; | |
| letter-spacing: 0.04em; | |
| } | |
| .st-car-avatar--ink { | |
| background: rgba(5, 26, 36, 0.07); | |
| color: #051a24; | |
| } | |
| .st-car-avatar--teal { | |
| background: rgba(14, 124, 123, 0.12); | |
| color: #0b5f5e; | |
| } | |
| .st-car-name { | |
| font-size: 14px; | |
| font-weight: 600; | |
| color: #051A24; | |
| } | |
| .st-car-role { font-size: 14px; color: #273C46; } | |
| .st-car-controls { | |
| max-width: 1200px; | |
| margin: 32px auto 0; | |
| padding: 0 24px; | |
| display: flex; | |
| gap: 12px; | |
| } | |
| .st-car-btn { | |
| width: 48px; | |
| height: 48px; | |
| border-radius: 50%; | |
| border: 1px solid rgba(13, 33, 44, 0.2); | |
| background: #ffffff; | |
| color: #0D212C; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| padding: 0; | |
| transition: background 0.2s ease; | |
| } | |
| .st-car-btn:hover { background: rgba(13, 33, 44, 0.06); } | |
| .st-car-btn:focus-visible { outline: 2px solid #051A24; outline-offset: 2px; } | |
| .st-car-btn--prev .ico { transform: rotate(180deg); } | |
| /* ============================================================ | |
| PROJECTS (.st-projects, .st-project-*) | |
| ============================================================ */ | |
| .st-projects { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 48px 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 64px; | |
| } | |
| @media (min-width: 768px) { .st-projects { gap: 80px; } } | |
| .st-project-text { | |
| max-width: 560px; | |
| margin-left: 0; | |
| } | |
| @media (min-width: 768px) { .st-project-text { margin-left: 80px; } } | |
| @media (min-width: 1024px) { .st-project-text { margin-left: 112px; } } | |
| .st-project-name { | |
| font-size: 24px; | |
| font-weight: 600; | |
| color: #051A24; | |
| margin: 0 0 8px; | |
| } | |
| @media (min-width: 768px) { .st-project-name { font-size: 30px; } } | |
| .st-project-desc { | |
| font-size: 14px; | |
| line-height: 1.65; | |
| color: #273C46; /* muted, WCAG AA on white */ | |
| margin: 0; | |
| } | |
| @media (min-width: 768px) { .st-project-desc { font-size: 16px; } } | |
| /* Light grid panel staging 1–2 DocCard mockups per capability. */ | |
| .st-project-visual { | |
| margin-top: 24px; | |
| border-radius: 16px; | |
| overflow: hidden; | |
| background-color: #f3f8fa; | |
| background-image: | |
| linear-gradient(rgba(13, 33, 44, 0.045) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(13, 33, 44, 0.045) 1px, transparent 1px); | |
| background-size: 28px 28px; | |
| box-shadow: | |
| 0 0 0 0.5px rgba(5, 26, 36, 0.06), | |
| 0 10px 15px -3px rgba(0, 0, 0, 0.06), | |
| 0 4px 6px -4px rgba(0, 0, 0, 0.06); | |
| padding: 32px 20px; | |
| } | |
| @media (min-width: 768px) { | |
| .st-project-visual { padding: 56px 32px; } | |
| } | |
| .st-project-stage { | |
| position: relative; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 240px; | |
| } | |
| @media (min-width: 768px) { | |
| .st-project-stage { min-height: 320px; } | |
| } | |
| .st-stage-card { flex: 0 0 auto; } | |
| /* Packet audit: packing list tucked behind, audit report in front. | |
| Mobile: deck-style heavy overlap so both cards stay readable-width; | |
| from 768px they sit side by side with a slight overlap. */ | |
| .st-stage--audit .st-stage-card--back { | |
| width: 72%; | |
| transform: rotate(-4deg) translateY(-10px); | |
| margin-right: -50%; | |
| z-index: 1; | |
| } | |
| .st-stage--audit .st-stage-card--front { | |
| width: 78%; | |
| transform: rotate(2.5deg) translateY(12px); | |
| z-index: 2; | |
| } | |
| /* Ask with citations: single answer card, centered. */ | |
| .st-stage--ask .st-stage-card--solo { | |
| width: min(360px, 86%); | |
| transform: rotate(-1.5deg); | |
| } | |
| /* Evidence reports: report front-left, stamped certificate behind right. */ | |
| .st-stage--evidence .st-stage-card--front { | |
| width: 78%; | |
| transform: rotate(-2.5deg) translateY(12px); | |
| margin-right: -50%; | |
| z-index: 2; | |
| } | |
| .st-stage--evidence .st-stage-card--back { | |
| width: 72%; | |
| transform: rotate(4deg) translateY(-10px); | |
| z-index: 1; | |
| } | |
| @media (min-width: 768px) { | |
| .st-stage--audit .st-stage-card--back { | |
| width: min(300px, 58%); | |
| margin-right: -13%; | |
| } | |
| .st-stage--audit .st-stage-card--front { | |
| width: min(320px, 62%); | |
| } | |
| .st-stage--evidence .st-stage-card--front { | |
| width: min(320px, 62%); | |
| margin-right: -13%; | |
| } | |
| .st-stage--evidence .st-stage-card--back { | |
| width: min(300px, 58%); | |
| } | |
| } | |
| /* ============================================================ | |
| PARTNER SECTION (.st-partner*, mouse-trail .st-trail-card) | |
| ============================================================ */ | |
| .st-partner { padding: 48px 24px; } | |
| .st-partner-box { | |
| position: relative; | |
| overflow: hidden; | |
| max-width: 1280px; /* max-w-7xl */ | |
| margin: 0 auto; | |
| background: #ffffff; | |
| border-radius: 40px; | |
| box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 4px 30px rgba(0, 0, 0, 0.08); | |
| padding: 96px 24px; | |
| text-align: center; | |
| } | |
| @media (min-width: 768px) { .st-partner-box { padding: 192px 24px; } } | |
| .st-partner-h { | |
| position: relative; | |
| z-index: 2; | |
| font-size: 48px; | |
| line-height: 1.05; | |
| letter-spacing: -0.02em; | |
| font-weight: 600; | |
| color: #0D212C; | |
| margin: 0 0 48px; | |
| } | |
| @media (min-width: 768px) { .st-partner-h { font-size: 64px; } } | |
| @media (min-width: 1024px) { .st-partner-h { font-size: 80px; } } | |
| .st-partner-cta { | |
| position: relative; | |
| z-index: 2; | |
| display: inline-flex; | |
| } | |
| /* Reshape the shared primary button into an avatar pill without | |
| touching the Button contract (no className prop). */ | |
| .st-partner-cta .st-btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 8px 28px 8px 8px; | |
| } | |
| /* Tamga logomark in a dark circle inside the CTA pill. */ | |
| .st-partner-avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| flex: 0 0 auto; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: #0d212c; | |
| box-shadow: inset 0 0 0 1px rgba(246, 252, 255, 0.22); | |
| color: #f6fcff; | |
| } | |
| /* Hidden DocCard prototypes the mouse-trail clones from. */ | |
| .st-trail-pool { display: none; } | |
| /* Mouse-trail mini DocCards (spawned by PartnerSection JS): a full card | |
| rendered at 236px and scaled to ~120px so it keeps its proportions. */ | |
| .st-trail-card { | |
| position: absolute; | |
| z-index: 1; | |
| width: 236px; | |
| pointer-events: none; | |
| transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.52); | |
| animation: st-trail-fade 1s ease-out forwards; | |
| } | |
| @keyframes st-trail-fade { | |
| 0% { | |
| opacity: 1; | |
| transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.52); | |
| } | |
| 100% { | |
| opacity: 0; | |
| transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.42); | |
| } | |
| } | |
| /* ============================================================ | |
| REDUCED MOTION — kill section animations (JS also guards) | |
| ============================================================ */ | |
| @media (prefers-reduced-motion: reduce) { | |
| .st-car-track { transition: none ; } | |
| .st-car-btn { transition: none; } | |
| .st-trail-card { animation: none ; display: none ; } | |
| .st-quote-card { transform: none ; will-change: auto; } | |
| } | |