v1: full rebuild as Paprika (13 pages from build note v2)

This commit is contained in:
seven
2026-06-28 11:35:55 +08:00
parent 7191d16fb5
commit 1bee73bf8e
17 changed files with 3697 additions and 2495 deletions

View File

@@ -1,343 +1,357 @@
:root {
--ink: #0A0E1A;
--ink-2: #1A1F2E;
--paper: #FAFAF7;
--paper-2: #F2F2EE;
--signal: #2E6BFF;
--signal-2: #1E50CC;
--caution: #E8A33D;
--halt: #D7423F;
--mute: #8A8F99;
--mute-2: #C7C9CE;
--rule: #E5E5E0;
--rule-dark: #2A2F3D;
/* Paprika brand */
--paprika: #C0392B;
--paprika-2: #E8472B;
--paprika-light: #FEF5F5;
--warm: #FEF9E7;
--green: #E8F8F5;
/* Neutrals */
--ink: #2C3E50;
--body: #333333;
--mute: #888888;
--rule: #E8E8E8;
--paper: #FFFFFF;
--paper-2: #FAFAFA;
}
* { box-sizing: border-box; }
html, body {
margin: 0; padding: 0;
background: var(--paper);
color: var(--ink);
color: var(--body);
font-family: "Inter", -apple-system, "PingFang SC", sans-serif;
font-size: 16px;
line-height: 1.55;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
/* Editorial serif for headlines */
h1, h2, h3 {
font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
font-weight: 600;
color: var(--ink);
letter-spacing: -0.015em;
}
h1 { font-weight: 700; }
/* NAV */
nav {
position: sticky; top: 0; z-index: 50;
background: rgba(250,250,247,0.85);
background: rgba(255,255,255,0.96);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--rule);
}
nav .container {
display: flex; align-items: center; justify-content: space-between;
height: 64px;
height: 72px;
gap: 16px;
}
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-dot { color: var(--signal); }
.nav-links { display: flex; gap: 28px; font-size: 14px; align-items: center; }
.nav-links > a:hover, .nav-trigger:hover { color: var(--signal); }
.nav-links a.active { color: var(--signal); font-weight: 500; }
.brand {
display: flex; flex-direction: column;
text-decoration: none;
}
.brand-name {
font-family: "Fraunces", Georgia, serif;
font-weight: 700;
font-size: 22px;
color: var(--paprika);
letter-spacing: -0.01em;
line-height: 1;
}
.brand-tagline {
font-size: 11px;
color: var(--mute);
font-weight: 400;
letter-spacing: 0.02em;
margin-top: 3px;
}
.nav-links {
display: flex; gap: 28px;
font-size: 14px;
align-items: center;
font-weight: 500;
}
.nav-links a { color: var(--ink); transition: color 0.15s; }
.nav-links a:hover { color: var(--paprika); }
.nav-links a.active { color: var(--paprika); }
.nav-cta {
background: var(--ink); color: var(--paper);
padding: 9px 18px; border-radius: 999px;
font-size: 14px; font-weight: 600;
transition: background 0.15s, transform 0.1s;
background: var(--paprika);
color: white !important;
padding: 10px 22px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
transition: background 0.15s, transform 0.08s;
}
.nav-cta:hover { background: var(--ink-2); }
.nav-cta:hover { background: #A8311F; color: white !important; }
.nav-cta:active { transform: scale(0.97); }
/* Login link in nav */
.nav-login {
color: var(--mute);
font-size: 14px;
transition: color 0.15s;
}
.nav-login:hover { color: var(--ink); }
/* Theme toggle */
.theme-toggle {
background: transparent;
border: 0;
width: 32px; height: 32px;
border-radius: 50%;
cursor: pointer;
display: inline-flex; align-items: center; justify-content: center;
color: var(--mute);
transition: color 0.15s, background 0.15s;
padding: 0;
}
.theme-toggle:hover {
color: var(--ink);
background: var(--paper-2);
}
.theme-toggle .icon-moon { display: inline-block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: inline-block; }
/* Dark mode palette */
html.dark {
--ink: #F5F5F0;
--ink-2: #2A2F3D;
--paper: #0A0E1A;
--paper-2: #14192A;
--rule: #2A2F3D;
--rule-dark: #3A3F4D;
--mute: #8A8F99;
--mute-2: #5A5F69;
}
html.dark body { background: var(--paper); color: var(--ink); }
html.dark .card,
html.dark .what-card,
html.dark .anti-card,
html.dark .role-card,
html.dark .pet-card,
html.dark .lead-form,
html.dark .mock,
html.dark .anatomy-wrap,
html.dark .compare-table,
html.dark .case-table,
html.dark .post-card,
html.dark .visa-card,
html.dark .reason-card,
html.dark .situation-card,
html.dark .tier-card { background: var(--ink-2); }
html.dark .field input,
html.dark .field select,
html.dark .field textarea { background: var(--paper-2); color: var(--ink); }
html.dark nav { background: rgba(10,14,26,0.85); }
html.dark .chip { background: var(--ink-2); border-color: var(--rule); color: var(--mute-2); }
html.dark .chip.active { background: var(--ink); color: var(--paper); }
/* Resources dropdown */
.nav-dropdown { position: relative; }
.nav-trigger {
background: transparent; border: 0;
font: inherit; font-size: 14px; color: var(--ink);
cursor: pointer;
display: inline-flex; align-items: center; gap: 4px;
padding: 0;
}
.nav-trigger svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
position: absolute;
top: calc(100% + 12px);
left: 50%;
transform: translateX(-50%) translateY(-4px);
background: var(--ink);
color: var(--paper);
border: 1px solid var(--rule-dark);
border-radius: 14px;
padding: 12px;
min-width: 240px;
box-shadow: 0 12px 40px rgba(10,14,26,0.2);
opacity: 0;
pointer-events: none;
transition: opacity 0.18s, transform 0.18s;
}
.nav-dropdown.open .dropdown-menu {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
display: block;
padding: 12px 16px;
font-family: "JetBrains Mono", monospace;
font-size: 14px;
color: var(--paper);
border-radius: 8px;
transition: background 0.12s, color 0.12s;
}
.dropdown-menu a:hover {
background: var(--ink-2);
color: var(--signal);
}
/* HERO */
.hero { padding: 80px 0 56px; }
.hero { padding: 88px 0 64px; }
.hero.centered { text-align: center; }
.eyebrow {
font-size: 12px; font-weight: 600;
color: var(--signal);
letter-spacing: 0.12em; text-transform: uppercase;
margin-bottom: 16px;
font-size: 12px;
font-weight: 600;
color: var(--paprika);
letter-spacing: 0.14em;
text-transform: uppercase;
margin-bottom: 20px;
}
.hero h1 {
font-size: 56px;
font-weight: 700;
font-size: 64px;
line-height: 1.05;
margin: 0 0 24px;
letter-spacing: -0.025em;
margin: 0 0 20px;
}
.hero h1 em { font-style: normal; color: var(--signal); }
.hero p.lead {
font-size: 18px; color: var(--mute);
margin: 0 0 28px;
max-width: 620px;
font-size: 19px;
color: var(--mute);
margin: 0 0 32px;
max-width: 680px;
line-height: 1.55;
}
.hero.centered p.lead { margin-left: auto; margin-right: auto; }
/* Section */
.section { padding: 80px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--paper); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
font-size: 36px; font-weight: 700;
letter-spacing: -0.02em;
margin: 0 0 12px;
line-height: 1.15;
max-width: 760px; margin-left: auto; margin-right: auto;
.hero-ctas {
display: inline-flex; gap: 12px;
margin-bottom: 14px;
flex-wrap: wrap;
}
.section-head p {
font-size: 17px; color: var(--mute);
max-width: 600px; margin: 0 auto;
.hero.centered .hero-ctas { justify-content: center; }
.support-text {
font-size: 13px; color: var(--mute);
max-width: 540px;
line-height: 1.55;
}
.section.dark .section-head h2 { color: var(--paper); }
.section.dark .section-head p { color: var(--mute-2); }
.hero.centered .support-text { margin: 0 auto; }
/* Buttons */
.btn {
display: inline-block;
padding: 12px 22px;
border-radius: 10px;
font-weight: 600; font-size: 14px;
padding: 13px 26px;
border-radius: 999px;
font-weight: 600;
font-size: 15px;
transition: all 0.15s;
border: 1px solid transparent;
cursor: pointer;
font-family: inherit;
}
.btn-primary { background: var(--signal); color: white; }
.btn-primary:hover { background: var(--signal-2); }
.btn-primary { background: var(--paprika); color: white; }
.btn-primary:hover { background: #A8311F; color: white; }
.btn-secondary {
background: transparent; color: var(--ink);
background: var(--paper);
color: var(--ink);
border-color: var(--rule);
}
.btn-secondary:hover {
border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
/* Card grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Section */
.section { padding: 88px 0; }
.section.alt { background: var(--paper-2); }
.section.warm { background: var(--paprika-light); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
font-size: 40px;
line-height: 1.15;
margin: 0 0 16px;
max-width: 760px;
margin-left: auto; margin-right: auto;
}
.section-head p {
font-size: 17px;
color: var(--mute);
max-width: 620px;
margin: 0 auto;
line-height: 1.6;
}
/* Card */
.card {
background: #FFFFFF;
background: var(--paper);
border: 1px solid var(--rule);
border-radius: 16px;
padding: 28px;
transition: border-color 0.15s, transform 0.15s;
border-radius: 14px;
padding: 32px;
transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card.hover:hover {
border-color: var(--signal);
transform: translateY(-2px);
border-color: var(--paprika);
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(192,57,43,0.08);
}
.card h3 {
font-size: 18px; font-weight: 600;
margin: 0 0 8px;
letter-spacing: -0.01em;
font-size: 22px;
margin: 0 0 10px;
}
.card p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.55; }
/* CTA band */
.cta-band {
background: var(--ink);
color: var(--paper);
border-radius: 24px;
padding: 64px 48px;
text-align: center;
margin-bottom: 96px;
}
.cta-band h2 {
font-size: 36px; font-weight: 700;
letter-spacing: -0.02em;
margin: 0 0 16px;
line-height: 1.1;
}
.cta-band p {
color: var(--mute-2);
font-size: 17px;
max-width: 540px; margin: 0 auto 28px;
}
.cta-buttons { display: inline-flex; gap: 12px; }
.cta-band .btn-secondary {
color: var(--paper);
border-color: var(--rule-dark);
}
.cta-band .btn-secondary:hover {
background: var(--ink-2);
color: var(--paper);
}
/* Footer */
footer {
border-top: 1px solid var(--rule);
padding: 48px 0 64px;
.card p {
font-size: 15px;
color: var(--mute);
font-size: 13px;
}
footer .container {
display: flex; justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap; gap: 32px;
}
.footer-links { display: flex; gap: 32px; }
.disclaimer {
border-top: 1px dashed var(--rule);
margin-top: 32px; padding-top: 24px;
font-size: 12px;
line-height: 1.55;
max-width: 760px;
margin: 0;
line-height: 1.6;
}
/* Pill / tag */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* Pill */
.pill {
display: inline-block;
padding: 3px 10px;
padding: 4px 12px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
background: var(--paper-2);
color: var(--mute);
background: var(--paprika-light);
color: var(--paprika);
}
.pill.signal { background: rgba(46,107,255,0.1); color: var(--signal); }
.pill.caution { background: rgba(232,163,61,0.15); color: var(--caution); }
.pill.warm { background: var(--warm); color: #9A6A0A; }
.pill.green { background: var(--green); color: #1B7A60; }
.pill.mute { background: #F0F0EE; color: var(--mute); }
/* Callout */
.callout {
background: var(--paprika-light);
border-left: 3px solid var(--paprika);
padding: 20px 24px;
border-radius: 8px;
font-size: 15px;
line-height: 1.6;
}
.callout.warm { background: var(--warm); border-color: #D4A53A; }
.callout.green { background: var(--green); border-color: #1B7A60; }
.callout .lbl {
display: block;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 8px;
color: var(--paprika);
}
.callout.warm .lbl { color: #9A6A0A; }
.callout.green .lbl { color: #1B7A60; }
/* CTA Band */
.cta-band {
background: var(--paper);
border: 1px solid var(--rule);
border-radius: 18px;
padding: 72px 48px;
text-align: center;
position: relative;
overflow: hidden;
}
.cta-band::before {
content: "";
position: absolute;
top: -200px; left: 50%;
transform: translateX(-50%);
width: 800px; height: 400px;
background: radial-gradient(ellipse at center, rgba(192,57,43,0.08) 0%, transparent 60%);
pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
font-size: 40px;
margin: 0 0 16px;
line-height: 1.1;
}
.cta-band p {
color: var(--mute);
font-size: 17px;
max-width: 600px;
margin: 0 auto 28px;
line-height: 1.6;
}
.cta-band-dark {
background: var(--ink);
color: var(--paper);
border-radius: 18px;
padding: 64px 48px;
text-align: center;
}
.cta-band-dark h2 { color: var(--paper); }
.cta-band-dark p { color: #C9CDD3; max-width: 600px; margin: 0 auto 28px; }
/* Form */
.field { display: flex; flex-direction: column; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
font-size: 12px; font-weight: 600;
color: var(--mute); letter-spacing: 0.04em;
margin-bottom: 4px;
font-size: 13px;
font-weight: 600;
color: var(--ink);
letter-spacing: 0.02em;
margin-bottom: 6px;
}
.field label .req { color: var(--paprika); }
.field input, .field select, .field textarea {
background: var(--paper-2);
background: var(--paper);
border: 1px solid var(--rule);
border-radius: 8px;
padding: 10px 12px;
border-radius: 10px;
padding: 12px 14px;
font: inherit;
font-size: 14px;
font-size: 15px;
color: var(--ink);
transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
outline: none;
border-color: var(--signal);
background: #FFFFFF;
border-color: var(--paprika);
background: var(--paprika-light);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-hint {
font-size: 12px;
color: var(--mute);
margin-top: 4px;
}
/* Footer */
footer {
border-top: 1px solid var(--rule);
padding: 64px 0 48px;
color: var(--mute);
font-size: 13px;
background: var(--paper-2);
}
footer .container {
display: grid;
grid-template-columns: 1.5fr repeat(3, 1fr);
gap: 48px;
align-items: flex-start;
}
.footer-col h4 {
font-family: "Inter", sans-serif;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--ink);
margin: 0 0 12px;
}
.footer-col a { display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--paprika); }
.disclaimer {
border-top: 1px solid var(--rule);
margin-top: 32px;
padding-top: 24px;
font-size: 12px;
line-height: 1.6;
max-width: 820px;
color: var(--mute);
}
/* Responsive */
@media (max-width: 880px) {
.hero h1 { font-size: 40px; }
.hero h1 { font-size: 44px; }
.section-head h2 { font-size: 32px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.nav-links { display: none; }
.cta-band { padding: 48px 24px; }
.cta-band, .cta-band-dark { padding: 48px 28px; }
.section { padding: 56px 0; }
footer .container { grid-template-columns: 1fr; gap: 32px; }
}