Files
SimpleAi/site/assets/style.css
2026-04-15 16:06:34 +08:00

261 lines
5.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* SimpleAi 龙虾站 · 卡若展厅风(木果 M09a */
:root {
--ink: #1a1a1a;
--ink-soft: #3c3c3c;
--muted: #6b6b6b;
--line: #e8e8e6;
--paper: #fafaf8;
--card: #ffffff;
--accent: #bb0a21;
--accent-soft: rgba(187, 10, 33, 0.08);
--radius: 4px;
--shadow: 0 24px 80px rgba(0, 0, 0, 0.06);
--font: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: var(--font);
color: var(--ink-soft);
background: var(--paper);
line-height: 1.65;
font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(250, 250, 248, 0.92);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--line);
}
.site-header .inner {
max-width: 1120px;
margin: 0 auto;
padding: 14px 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 700;
color: var(--ink);
font-size: 1.05rem;
}
.brand-mark {
width: 36px;
height: 36px;
border-radius: var(--radius);
background: var(--accent-soft);
border: 1px solid var(--line);
display: grid;
place-items: center;
font-size: 1.25rem;
}
nav ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 6px 16px;
}
nav a {
color: var(--ink-soft);
font-size: 0.9rem;
font-weight: 500;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); font-weight: 600; }
.hero {
background: linear-gradient(180deg, #f0f0ec 0%, var(--paper) 100%);
border-bottom: 1px solid var(--line);
padding: 48px 20px 56px;
}
.hero-inner {
max-width: 1120px;
margin: 0 auto;
}
.hero-kicker {
font-size: 0.72rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 10px;
}
.hero h1 {
margin: 0 0 12px;
font-size: clamp(1.85rem, 4vw, 2.45rem);
color: var(--ink);
font-weight: 700;
line-height: 1.2;
}
.hero-lead {
font-size: 1.1rem;
color: var(--ink-soft);
max-width: 640px;
margin-bottom: 20px;
}
.pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 20px 0 24px;
}
.pill {
font-size: 0.82rem;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--card);
color: var(--muted);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
display: inline-block;
padding: 12px 22px;
border-radius: var(--radius);
font-weight: 600;
font-size: 0.95rem;
border: 1px solid var(--accent);
cursor: pointer;
}
.btn-primary {
background: var(--accent);
color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost {
background: var(--card);
color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); text-decoration: none; }
.shell { max-width: 1120px; margin: 0 auto; padding: 36px 20px 48px; }
.card {
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 28px 28px 26px;
margin-bottom: 22px;
}
.sec-title {
font-size: 0.68rem;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--muted);
margin: 0 0 6px;
}
h2 {
margin: 0 0 16px;
font-size: 1.35rem;
color: var(--ink);
padding-left: 12px;
border-left: 3px solid var(--accent);
}
h3 { margin: 22px 0 10px; font-size: 1.08rem; color: var(--ink); }
h4 { margin: 16px 0 8px; font-size: 1rem; color: var(--ink-soft); }
.grid-2 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 18px;
}
.feature-tile {
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 18px 18px 16px;
background: #fff;
}
.feature-tile .icon {
font-size: 1.6rem;
margin-bottom: 8px;
}
.feature-tile strong { display: block; color: var(--ink); margin-bottom: 6px; }
.steps {
display: grid;
gap: 14px;
}
.step {
display: flex;
gap: 14px;
align-items: flex-start;
padding: 14px 16px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
}
.step-num {
flex-shrink: 0;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--accent);
color: #fff;
font-weight: 700;
font-size: 0.9rem;
display: grid;
place-items: center;
}
details.faq-item {
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 12px 16px;
background: #fff;
margin-bottom: 10px;
}
details.faq-item summary {
cursor: pointer;
font-weight: 600;
color: var(--ink);
}
.callout {
border-left: 3px solid var(--accent);
padding: 12px 16px;
background: var(--accent-soft);
margin: 16px 0;
font-size: 0.92rem;
}
.callout.warn { border-left-color: #c45c26; background: rgba(196, 92, 38, 0.08); }
ul.clean { margin: 8px 0; padding-left: 1.2rem; }
ul.clean li { margin: 6px 0; }
.site-footer {
border-top: 1px solid var(--line);
padding: 28px 20px 36px;
background: #f3f3f0;
font-size: 0.88rem;
color: var(--muted);
}
.site-footer .inner { max-width: 1120px; margin: 0 auto; }
.site-footer strong { color: var(--ink-soft); }
.hero-svg {
margin-top: 28px;
max-width: 520px;
opacity: 0.9;
}
@media (max-width: 720px) {
.site-header .inner { flex-direction: column; align-items: flex-start; }
nav ul { gap: 8px 12px; }
}