Files
webup-cloud/frontend/src/landing.css
T
Morris 347e723583
Verify control plane / verify (pull_request) Canceled after 0s
fix: resolve client IP behind proxy and align upload limits
Bug 1 (high): login rate limiting used request.getRemoteAddr(), which is
always the nginx container address. Every client shared one bucket, so any
anonymous caller could lock the whole platform out of login for 60 seconds.

- Add ClientIp to resolve the real address, honouring X-Real-IP /
  X-Forwarded-For only when the direct peer is a proxy we operate
  (loopback, private or container range). Public peers cannot spoof.
- Prefer X-Real-IP, fall back to the right-most X-Forwarded-For entry so
  client-supplied prefixes are ignored. Guard with an IP literal check so
  a malformed header can never trigger a DNS lookup.
- nginx now overwrites the forwarded headers with $remote_addr instead of
  clearing them, so spoofed values never reach the backend.
- Add a global login ceiling (600/60s) well above the per-address limit.

Bug 2: the landing page had no login entry point on mobile. The collapsed
menu button was permanently display:none and the login link was hidden
below 550px, leaving no way to reach an account.

- Show the menu button below 850px, render nav as a dropdown panel.
- Add a login item inside the collapsed menu.

Bug 3: upload size limits disagreed across three layers. nginx capped
requests at 1m while the backend and UI advertise 25MiB, so any file over
1 MiB failed with nginx's HTML error page.

- Raise client_max_body_size to 26m to match the backend.
- Return 413 as JSON matching the API error shape.

Tests: 153 backend tests pass, including 10 new ClientIpTest cases
covering spoofed headers, right-most entry selection, IPv4-mapped IPv6,
and malformed values.
2026-11-14 09:33:03 +08:00

1453 lines
26 KiB
CSS

.landing {
background: var(--landing-background, #fff);
color: var(--landing-text, #1d2d48);
overflow: hidden;
}
.landing-notice {
text-align: center;
background: var(--landing-accentSoft, #edf3ff);
color: var(--landing-muted, #657fa8);
font-size: 10px;
padding: 9px 20px;
letter-spacing: 0.3px;
}
.landing-nav-wrap {
border-bottom: 1px solid var(--landing-border, #eef1f6);
background: var(--landing-surface, #ffffffed);
position: sticky;
top: 0;
z-index: 35;
backdrop-filter: blur(16px);
}
.landing-nav {
max-width: 1220px;
margin: auto;
padding: 0 28px;
height: 84px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
}
.landing .brand strong {
max-width: 220px;
font-size: 20px;
letter-spacing: -0.7px;
}
.landing-nav nav {
display: flex;
gap: 23px;
}
.landing-nav nav > a {
font-size: 12px;
padding: 10px 0;
color: var(--landing-muted, #7a879b);
}
.landing-nav nav > a:hover {
background: none;
color: var(--landing-accent, #3868f5);
}
.landing-nav-actions {
display: flex;
align-items: center;
gap: 23px;
}
.landing-login {
font-size: 12px;
color: #677991;
}
.landing .primary {
padding: 13px 20px;
font-size: 12px;
border-radius: 7px;
}
.landing-container {
max-width: 1220px;
padding: 0 28px;
margin: auto;
}
.landing-hero {
display: grid;
grid-template-columns: 1fr 1.1fr;
align-items: center;
gap: 35px;
padding: 105px 0 100px;
}
.hero-kicker {
display: inline-flex;
gap: 8px;
align-items: center;
border: 1px solid #e5ebf6;
background: var(--landing-soft, #f8faff);
border-radius: 20px;
padding: 7px 12px;
font-size: 10px;
color: #7990b5;
letter-spacing: 0.4px;
margin-bottom: 26px;
}
.hero-kicker > span {
height: 5px;
width: 5px;
background: #6e91eb;
border-radius: 50%;
}
.landing-hero h1 {
font-size: 57px;
font-weight: 650;
letter-spacing: -2.8px;
line-height: 1.4;
color: var(--landing-text, #203653);
}
.landing-hero h1 > span {
color: var(--landing-accent, #4679ec);
}
.hero-description {
font-size: 14px;
color: var(--landing-muted, #8997ad);
line-height: 2.05;
margin: 22px 0 30px;
}
.hero-actions {
display: flex;
align-items: center;
gap: 25px;
}
.hero-secondary {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: #8090a8;
}
.hero-points {
display: flex;
gap: 17px;
margin-top: 23px;
color: #9ca9bd;
font-size: 9px;
}
.hero-points > span {
display: flex;
gap: 4px;
align-items: center;
}
.hero-points svg {
color: #84a29b;
}
.hero-product {
position: relative;
min-width: 0;
padding-bottom: 30px;
transform: perspective(1800px) rotateY(-6deg) rotateX(2deg);
}
.product-glow {
position: absolute;
inset: -70px;
background: radial-gradient(ellipse, #e7efffa0, transparent 65%);
z-index: 0;
}
.product-window {
position: relative;
background: #fff;
border: 1px solid #dce6f5;
box-shadow:
0 30px 70px #3362a41a,
0 2px 4px #39649c08;
border-radius: 12px;
overflow: hidden;
min-height: 340px;
}
.product-titlebar {
height: 41px;
border-bottom: 1px solid #e8eef7;
display: flex;
align-items: center;
padding: 0 14px;
gap: 17px;
background: #f8faff;
color: #8d9db4;
font-size: 9px;
}
.window-dots {
display: flex;
gap: 5px;
}
.window-dots i {
width: 6px;
height: 6px;
border-radius: 50%;
background: #d5deed;
}
.window-dots i:first-child {
background: #e6bbb8;
}
.window-dots i:nth-child(2) {
background: #e5d3a9;
}
.window-dots i:nth-child(3) {
background: #b5d4c6;
}
.product-titlebar small {
margin-left: auto;
color: #a4afc0;
font-size: 8px;
}
.product-workspace {
display: flex;
}
.product-filebar {
width: 135px;
flex-shrink: 0;
border-right: 1px solid #e8eef7;
padding: 15px 0 12px;
background: #fbfcff;
display: flex;
flex-direction: column;
gap: 14px;
font-size: 8px;
color: #8d9bb2;
position: relative;
}
.product-filebar > span {
padding-left: 15px;
}
.filebar-label {
font-size: 7px;
letter-spacing: 1px;
color: #adb7c7;
margin-bottom: 5px;
}
.product-filebar > .indent {
padding-left: 26px;
}
.product-filebar .file-selected {
background: #edf3ff;
color: #688ed7;
padding-top: 8px;
padding-bottom: 8px;
margin-top: -7px;
margin-bottom: -7px;
}
.filebar-bottom {
display: flex;
gap: 5px;
align-items: center;
font-size: 7px;
color: #9eafc7;
position: absolute;
bottom: 14px;
left: 17px;
}
.product-code {
flex: 1;
min-width: 0;
}
.code-tab {
display: flex;
gap: 7px;
align-items: center;
font-size: 8px;
color: #7c94b9;
padding: 12px 15px;
border-bottom: 1px solid #eef2f8;
width: 125px;
border-right: 1px solid #eef2f8;
}
.code-tab span {
margin-left: auto;
color: #a9b6cc;
}
.code-lines {
padding: 20px 8px 22px 0;
white-space: pre;
font-size: 8px;
line-height: 2.3;
overflow: hidden;
font-family: Consolas, monospace;
min-height: 203px;
}
.code-lines > div {
display: flex;
color: #98a6b9;
}
.code-lines em {
font-style: normal;
flex-shrink: 0;
color: #c4ccda;
width: 34px;
text-align: center;
}
.code-lines code {
color: #879ab3;
}
.code-lines b {
font-weight: 400;
color: #7d8cd5;
}
.code-lines u {
text-decoration: none;
color: #a39466;
}
.code-lines strong {
font-weight: 400;
color: #5a9da0;
}
.code-lines .code-comment {
color: #afb9c8;
}
.product-terminal {
border-top: 1px solid #e8eef7;
padding: 12px 16px 16px;
font:
8px/1.8 Consolas,
monospace;
color: #a1afc1;
}
.product-terminal > div {
display: flex;
align-items: center;
gap: 6px;
color: #879ab5;
font-size: 8px;
margin-bottom: 8px;
}
.product-terminal p {
font-size: 8px;
line-height: 2.15;
}
.product-terminal p > span {
color: #a6bdac;
margin-right: 8px;
}
.product-terminal i {
display: inline-block;
width: 5px;
height: 9px;
background: #9fb6e6;
vertical-align: middle;
margin-left: 3px;
}
.product-status {
background: #f8faff;
border-top: 1px solid #e8eef7;
padding: 7px 12px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 7px;
color: #9cacc5;
}
.product-status > span:first-child {
display: flex;
align-items: center;
gap: 5px;
}
.status-dot {
height: 4px;
width: 4px;
background: #8dbca9;
border-radius: 50%;
}
.floating-prompt {
position: absolute;
bottom: 9px;
left: 42px;
right: 18px;
border: 1px solid #e6ecf5;
background: #fff;
box-shadow: 0 12px 25px #4268a315;
border-radius: 10px;
padding: 14px 16px;
display: flex;
align-items: center;
gap: 12px;
}
.prompt-spark {
background: #edf2ff;
color: #7596e5;
border-radius: 8px;
display: grid;
place-items: center;
width: 33px;
height: 33px;
}
.floating-prompt > div {
flex: 1;
}
.floating-prompt small {
font-size: 7px;
display: block;
color: #a3b0c5;
margin-bottom: 5px;
}
.floating-prompt b {
font-size: 10px;
color: #6e83a5;
font-weight: 500;
}
.floating-prompt > svg {
color: #acbad0;
}
.landing-values {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
padding: 31px 0;
border-top: 1px solid #eef2f7;
border-bottom: 1px solid #eef2f7;
color: #8fa0b9;
}
.landing-values > span {
font-size: 10px;
color: #a5afbd;
}
.landing-values > div {
display: flex;
align-items: center;
gap: 9px;
font-size: 12px;
font-weight: 500;
white-space: nowrap;
}
.landing-values svg {
color: #a6b5cd;
}
.landing-section {
padding: 93px 0;
scroll-margin-top: 90px;
}
.landing-section-heading {
text-align: center;
margin-bottom: 46px;
}
.landing-section .eyebrow {
font-size: 9px;
color: #90a3c1;
letter-spacing: 2px;
margin-bottom: 17px;
}
.landing-section h2,
.landing-cta h2 {
font-size: 35px;
letter-spacing: -1.2px;
font-weight: 600;
line-height: 1.6;
color: #2e4666;
}
.landing-section-heading > p {
font-size: 12px;
color: #99a6b9;
line-height: 2;
margin-top: 17px;
}
.landing-feature-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 27px;
}
.landing-feature-grid article {
padding: 25px 17px 25px 0;
}
.landing-feature-icon {
height: 46px;
width: 46px;
background: #eef3ff;
border: 1px solid #e7edfa;
color: #7695d5;
display: grid;
place-items: center;
border-radius: 12px;
margin-bottom: 23px;
}
.landing-feature-grid article:nth-child(2) .landing-feature-icon {
background: #eef7f3;
color: #87ab9c;
border-color: #e6f0eb;
}
.landing-feature-grid article:nth-child(3) .landing-feature-icon {
background: #faf5ea;
color: #baa06a;
border-color: #f4ecda;
}
.landing-feature-grid article:nth-child(4) .landing-feature-icon {
background: #f2f0fa;
color: #a196c0;
border-color: #eae6f4;
}
.landing-feature-grid h3 {
font-size: 15px;
font-weight: 550;
margin-bottom: 15px;
}
.landing-feature-grid p {
font-size: 11px;
line-height: 2;
color: #98a5b8;
min-height: 88px;
}
.landing-feature-grid article > span {
display: flex;
gap: 7px;
align-items: center;
font-size: 9px;
color: #8299ba;
margin-top: 19px;
}
.workflow-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
border-top: 1px solid #edf1f7;
border-bottom: 1px solid #edf1f7;
padding: 74px 40px;
background: linear-gradient(120deg, #fafcff, #fff);
}
.workflow-intro {
padding-top: 14px;
}
.workflow-intro p {
font-size: 11px;
color: #9ba8ba;
line-height: 2;
margin: 23px 0;
}
.workflow-intro .text-link {
font-size: 11px;
}
.workflow-steps {
position: relative;
}
.workflow-steps:before {
content: "";
position: absolute;
top: 28px;
bottom: 45px;
left: 17px;
width: 1px;
background: #e1e9f4;
}
.workflow-steps article {
display: flex;
gap: 19px;
align-items: flex-start;
padding: 15px 0;
}
.workflow-steps article > span {
display: grid;
place-items: center;
height: 35px;
width: 35px;
flex-shrink: 0;
border: 1px solid #dfe8f6;
color: #8da6cf;
border-radius: 50%;
background: #fff;
font-size: 9px;
position: relative;
}
.workflow-steps h3 {
font-size: 13px;
font-weight: 550;
margin: 5px 0 9px;
}
.workflow-steps p {
font-size: 10px;
color: #a0abbb;
line-height: 1.9;
}
.usecase-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 27px;
}
.usecase-grid > article {
background: #f9fbfe;
border: 1px solid #edf1f7;
padding: 28px 24px 0;
border-radius: 11px;
overflow: hidden;
}
.usecase-grid > article > span {
font-size: 8px;
color: #9aaac1;
letter-spacing: 1.4px;
}
.usecase-grid h3 {
font-size: 15px;
font-weight: 550;
margin: 18px 0 13px;
}
.usecase-grid > article > p {
font-size: 11px;
color: #99a7bb;
line-height: 1.95;
min-height: 45px;
}
.usecase-visual {
margin-top: 28px;
height: 160px;
border: 1px solid #e5ebf5;
border-radius: 8px 8px 0 0;
background: #fff;
box-shadow: 0 4px 15px #6587bb08;
position: relative;
overflow: hidden;
}
.visual-page {
padding: 21px;
}
.visual-page > i {
display: block;
width: 18px;
height: 5px;
background: #7a9ee8;
border-radius: 2px;
margin-bottom: 22px;
}
.visual-page > b {
font-size: 13px;
color: #8ca0bd;
font-weight: 500;
display: block;
margin-bottom: 14px;
}
.visual-page > span {
height: 4px;
width: 68%;
background: #e6edf7;
display: block;
margin: 7px 0;
border-radius: 2px;
}
.visual-page > span:nth-of-type(2) {
width: 43%;
}
.visual-page > div {
display: flex;
gap: 9px;
margin-top: 19px;
}
.visual-page > div i {
width: 60px;
height: 35px;
background: #eef3fc;
border: 1px solid #e5edf8;
border-radius: 4px;
}
.visual-app {
display: flex;
}
.visual-app > div {
width: 53px;
flex-shrink: 0;
border-right: 1px solid #eaf0f8;
padding: 19px 12px;
display: grid;
align-content: start;
gap: 12px;
background: #f8faff;
}
.visual-app > div i {
height: 10px;
width: 10px;
border-radius: 3px;
background: #b2c4e5;
margin-bottom: 10px;
}
.visual-app > div span {
height: 4px;
background: #dee7f5;
}
.visual-app > section {
flex: 1;
padding: 21px 17px;
}
.visual-app b {
font-size: 11px;
color: #93a6c1;
font-weight: 500;
}
.visual-app section > div {
display: flex;
gap: 7px;
margin: 18px 0;
}
.visual-app section > div i {
width: 46px;
height: 34px;
background: #f0f5fc;
border: 1px solid #e6edf7;
border-radius: 4px;
}
.visual-app section > span {
display: block;
background: #edf2f9;
height: 5px;
width: 90%;
margin-top: 9px;
}
.visual-api {
padding: 20px;
background: #f4f8fd;
color: #9bacc4;
}
.visual-api > code {
font-size: 9px;
color: #91aacb;
display: block;
border-bottom: 1px solid #e2eaf5;
padding-bottom: 13px;
}
.visual-api p {
font:
10px/2 Consolas,
monospace;
padding-top: 9px;
}
.visual-api p span {
color: #91aca5;
}
.landing-pricing {
border-top: 1px solid #edf1f7;
}
.landing-plan-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 24px;
max-width: 1000px;
margin: auto;
}
.landing-plan-grid > article {
padding: 32px;
border: 1px solid #e2eaf7;
border-radius: 12px;
background: #fff;
}
.plan-eyebrow {
font-size: 9px;
color: #91a4c1;
display: block;
margin-bottom: 12px;
}
.landing-plan-grid h3 {
font-size: 19px;
font-weight: 600;
}
.plan-price {
font-size: 34px;
color: #35547d;
margin: 24px 0;
}
.plan-price > span {
font-size: 11px;
color: #a2adbe;
margin-left: 6px;
}
.landing-plan-grid ul {
list-style: none;
padding: 20px 0 24px;
margin: 0;
border-top: 1px solid #edf1f7;
display: grid;
gap: 14px;
}
.landing-plan-grid li {
font-size: 11px;
color: #91a1b8;
display: flex;
align-items: center;
gap: 9px;
}
.landing-plan-grid li svg {
color: #8fb6a7;
}
.pricing-empty {
text-align: center;
border: 1px solid #e6edf7;
background: #f9fbff;
border-radius: 14px;
max-width: 760px;
margin: auto;
padding: 40px 25px;
}
.pricing-empty > svg {
color: #a5b9df;
margin-bottom: 20px;
}
.pricing-empty h3 {
font-size: 17px;
font-weight: 500;
color: #768da9;
}
.pricing-empty p {
font-size: 11px;
color: #9eabc0;
max-width: 450px;
margin: 14px auto 22px;
line-height: 1.95;
}
.landing-faq {
border-top: 1px solid #edf1f7;
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: 100px;
}
.landing-faq > div > p {
font-size: 11px;
color: #a1adbf;
margin-top: 15px;
}
.faq-items article {
border-bottom: 1px solid #eaf0f7;
}
.faq-items article > button {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 22px 0;
width: 100%;
text-align: left;
background: transparent;
color: #647c9a;
font-size: 12px;
line-height: 1.8;
}
.faq-items svg {
color: #a4b4ce;
flex-shrink: 0;
transition: transform 0.2s;
}
.faq-items svg.rotate {
transform: rotate(180deg);
}
.faq-items article > p {
font-size: 11px;
color: #9daabd;
line-height: 2;
padding: 0 20px 23px 0;
}
.landing-cta {
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
padding: 50px 55px;
background: #f0f5ff;
border: 1px solid #e4ecfb;
border-radius: 14px;
margin: 0 0 77px;
}
.landing-cta h2 {
font-size: 29px;
}
.landing-cta p {
font-size: 11px;
color: #98aaca;
margin-top: 12px;
}
.landing-cta > .primary {
z-index: 1;
padding: 15px 26px;
}
.cta-orbit {
position: absolute;
right: 25px;
top: -110px;
width: 400px;
height: 400px;
border: 1px solid #dae5fa;
border-radius: 50%;
pointer-events: none;
}
.cta-orbit:before {
content: "";
position: absolute;
inset: 35px;
border: 1px solid #dae5fa;
border-radius: 50%;
}
.landing-footer {
border-top: 1px solid #edf1f7;
}
.landing-footer-inner {
max-width: 1220px;
padding: 45px 28px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
margin: auto;
}
.landing-footer-inner > div > p {
font-size: 10px;
color: #a6b0bf;
margin-top: 14px;
}
.landing-footer-inner > div:last-child {
display: flex;
align-items: center;
gap: 25px;
font-size: 10px;
color: #92a2b9;
}
.landing-footer-bottom {
border-top: 1px solid #f0f3f8;
max-width: 1164px;
display: flex;
justify-content: space-between;
gap: 20px;
margin: auto;
padding: 22px 0;
font-size: 9px;
color: #acb6c6;
}
.landing-footer-bottom small {
margin-left: auto;
font-size: 8px;
}
.landing-menu {
display: none;
}
/* Only rendered inside the collapsed mobile menu; desktop keeps the standalone 登录 link. */
.landing-nav-login {
display: none;
}
.mobile-break {
display: none;
}
.admin-auth .auth-story {
background: linear-gradient(135deg, #1a2945, #263f65);
}
.admin-auth .auth-story h1 {
color: #ebf1fc;
}
.admin-auth .auth-story p {
color: #9eafc8;
}
.admin-auth .auth-story .brand strong {
color: #fff;
}
.admin-auth .auth-feature {
color: #9fb2d0;
}
@media (max-width: 1100px) {
.landing-hero {
padding: 80px 0;
gap: 22px;
grid-template-columns: 1fr 1.05fr;
}
.landing-hero h1 {
font-size: 46px;
}
.hero-description {
font-size: 12px;
}
.hero-actions {
gap: 17px;
}
.hero-actions .primary {
font-size: 11px;
padding: 12px 14px;
}
.hero-points {
gap: 10px;
font-size: 8px;
}
.product-filebar {
width: 105px;
}
.code-lines {
font-size: 7px;
}
.landing-nav nav {
gap: 18px;
}
.landing-nav nav > a {
font-size: 11px;
}
.landing-nav-actions {
gap: 16px;
}
.landing-values {
gap: 14px;
}
.landing-values > span {
font-size: 9px;
}
.landing-feature-grid {
gap: 20px;
}
.landing-faq {
gap: 65px;
}
.landing-section h2 {
font-size: 31px;
}
.usecase-grid {
gap: 18px;
}
.usecase-grid > article {
padding: 25px 20px 0;
}
.workflow-section {
gap: 50px;
padding: 62px 30px;
}
}
@media (max-width: 850px) {
.landing-nav {
position: relative;
gap: 10px;
}
.landing-menu {
display: inline-flex;
margin-left: auto;
}
.landing-nav nav {
position: absolute;
top: calc(100% + 1px);
left: 16px;
right: 16px;
display: none;
flex-direction: column;
gap: 2px;
padding: 8px;
background: var(--landing-surface, #fff);
border: 1px solid var(--landing-border, #eef1f6);
border-radius: 12px;
box-shadow: 0 18px 40px #1d2d4814;
z-index: 40;
}
.landing-nav nav.expanded {
display: flex;
}
.landing-nav nav > a {
padding: 12px 14px;
border-radius: 8px;
font-size: 13px;
}
.landing-nav nav > a:hover {
background: var(--landing-accentSoft, #edf3ff);
}
.landing-nav nav .landing-nav-login {
display: block;
padding: 12px 14px;
border-radius: 8px;
font-size: 13px;
color: var(--landing-muted, #7a879b);
}
.landing-nav nav .landing-nav-login:hover {
background: var(--landing-accentSoft, #edf3ff);
color: var(--landing-accent, #3868f5);
}
.landing-hero {
grid-template-columns: 1fr;
text-align: center;
padding: 64px 0 60px;
gap: 50px;
}
.hero-product {
max-width: 570px;
width: 100%;
margin: auto;
transform: none;
text-align: left;
}
.landing-hero h1 {
font-size: 51px;
}
.hero-description {
font-size: 13px;
}
.hero-actions,
.hero-points {
justify-content: center;
}
.product-filebar {
width: 135px;
}
.code-lines {
font-size: 9px;
}
.landing-values {
flex-wrap: wrap;
justify-content: center;
gap: 25px;
}
.landing-values > span {
width: 100%;
text-align: center;
}
.landing-feature-grid {
grid-template-columns: 1fr 1fr;
gap: 20px 35px;
}
.landing-feature-grid p {
min-height: unset;
}
.workflow-section {
grid-template-columns: 1fr;
gap: 30px;
padding: 50px 30px;
}
.workflow-intro {
text-align: center;
}
.workflow-steps {
max-width: 480px;
margin: auto;
}
.workflow-intro .text-link {
justify-content: center;
}
.usecase-grid {
grid-template-columns: 1fr;
}
.usecase-grid > article {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 28px;
padding: 28px 25px 0;
}
.usecase-grid > article > span {
grid-column: 1;
}
.usecase-grid > article > h3 {
grid-column: 1;
margin-top: 16px;
}
.usecase-grid > article > p {
grid-column: 1;
align-self: start;
padding-bottom: 25px;
}
.usecase-visual {
grid-column: 2;
grid-row: 1/4;
margin-top: 0;
align-self: end;
}
.landing-faq {
grid-template-columns: 1fr;
gap: 25px;
}
.landing-faq > div:first-child {
text-align: center;
}
.landing-cta {
padding: 40px 35px;
}
.landing-cta h2 {
font-size: 25px;
}
.landing-footer-inner {
align-items: flex-start;
}
.landing-footer-inner > div:last-child {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.landing-footer-bottom {
margin: 0 28px;
}
}
@media (max-width: 550px) {
.landing-nav {
padding: 0 20px;
height: 72px;
gap: 12px;
}
.landing .brand strong {
font-size: 17px;
max-width: 150px;
}
.landing-nav-actions .primary {
font-size: 10px;
padding: 10px 12px;
}
.landing-nav-actions .landing-login {
display: none;
}
.landing-container {
padding: 0 22px;
}
.landing-notice {
font-size: 9px;
padding: 8px 15px;
line-height: 1.6;
}
.landing-hero {
padding: 50px 0 45px;
gap: 42px;
}
.hero-kicker {
font-size: 9px;
margin-bottom: 21px;
}
.landing-hero h1 {
font-size: 39px;
letter-spacing: -1.8px;
}
.hero-description {
font-size: 11px;
line-height: 2;
margin: 19px 0 24px;
}
.mobile-break {
display: block;
}
.hero-actions {
gap: 20px;
flex-direction: column;
}
.hero-actions .primary {
font-size: 12px;
padding: 13px 23px;
}
.hero-secondary {
font-size: 10px;
}
.hero-points {
font-size: 8px;
gap: 11px;
}
.product-titlebar {
padding: 0 10px;
font-size: 8px;
gap: 12px;
}
.product-filebar {
width: 83px;
font-size: 6px;
padding-top: 13px;
gap: 12px;
}
.product-filebar > span {
padding-left: 10px;
}
.product-filebar > .indent {
padding-left: 15px;
}
.filebar-label {
font-size: 6px;
}
.filebar-bottom {
font-size: 6px;
left: 8px;
gap: 3px;
}
.filebar-bottom svg {
width: 10px;
}
.code-lines {
font-size: 6px;
line-height: 2.5;
padding-top: 17px;
min-height: 175px;
}
.code-lines em {
width: 22px;
}
.code-tab {
font-size: 7px;
padding: 10px;
width: 105px;
}
.product-terminal {
padding: 10px;
font-size: 7px;
}
.product-terminal p {
font-size: 6px;
}
.product-terminal > div {
font-size: 7px;
}
.product-status {
font-size: 6px;
padding: 7px 9px;
}
.product-window {
min-height: unset;
}
.floating-prompt {
left: 15px;
right: 5px;
padding: 10px;
gap: 9px;
bottom: 5px;
}
.floating-prompt b {
font-size: 8px;
}
.floating-prompt small {
font-size: 6px;
}
.prompt-spark {
width: 28px;
height: 28px;
flex-shrink: 0;
}
.landing-values {
gap: 20px 30px;
padding: 27px 10px;
}
.landing-values > div {
font-size: 10px;
min-width: 110px;
justify-content: center;
}
.landing-values > span {
font-size: 9px;
}
.landing-values svg {
width: 15px;
}
.landing-section {
padding: 58px 0;
}
.landing-section h2 {
font-size: 27px;
line-height: 1.6;
letter-spacing: -0.7px;
}
.landing-section .eyebrow {
font-size: 7px;
letter-spacing: 1.6px;
}
.landing-section-heading > p {
font-size: 10px;
line-height: 2;
}
.landing-section-heading {
margin-bottom: 28px;
}
.landing-feature-grid {
grid-template-columns: 1fr;
gap: 0;
}
.landing-feature-grid article {
padding: 25px 0 25px 61px;
position: relative;
border-bottom: 1px solid #edf1f7;
}
.landing-feature-icon {
position: absolute;
left: 0;
top: 25px;
width: 42px;
height: 42px;
}
.landing-feature-grid h3 {
font-size: 14px;
}
.landing-feature-grid p {
font-size: 11px;
line-height: 1.9;
}
.landing-feature-grid article > span {
font-size: 9px;
margin-top: 13px;
}
.workflow-section {
padding: 38px 20px;
border-radius: 10px;
}
.workflow-steps article {
gap: 13px;
}
.workflow-steps h3 {
font-size: 12px;
}
.workflow-steps p {
font-size: 10px;
}
.usecase-grid > article {
display: block;
padding: 25px 24px 0;
}
.usecase-grid > article > p {
padding-bottom: 0;
font-size: 11px;
}
.usecase-visual {
margin-top: 25px;
height: 160px;
}
.landing-plan-grid {
grid-template-columns: 1fr;
}
.landing-plan-grid > article {
padding: 28px;
}
.pricing-empty {
padding: 30px 20px;
}
.pricing-empty h3 {
font-size: 14px;
}
.pricing-empty p {
font-size: 10px;
}
.faq-items article > button {
font-size: 11px;
padding: 20px 0;
}
.faq-items article > p {
font-size: 10px;
}
.landing-cta {
display: block;
text-align: center;
padding: 35px 18px;
margin-bottom: 50px;
}
.landing-cta h2 {
font-size: 24px;
}
.landing-cta p {
font-size: 10px;
}
.landing-cta .primary {
position: relative;
margin-top: 25px;
}
.cta-orbit {
right: -100px;
top: -40px;
}
.landing-footer-inner {
display: block;
padding: 33px 22px;
}
.landing-footer-inner > div:last-child {
display: flex;
flex-wrap: wrap;
gap: 25px;
margin-top: 27px;
font-size: 9px;
}
.landing-footer-inner > div > p {
font-size: 9px;
}
.landing-footer-bottom {
margin: 0 22px;
flex-wrap: wrap;
font-size: 8px;
padding: 20px 0;
gap: 10px;
}
.landing-footer-bottom small {
font-size: 7px;
}
.admin-auth .auth-story {
display: none;
}
}